This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Firefox 4 does not pass url parameters to the javascript function

  • 2 fhreagra
  • 9 leis an bhfadhb seo
  • 4 views
  • Freagra is déanaí ó Boshco

more options

Our website navigation is controlled by a javascript function that receives a url parameter. The url parameter tells the javascript function which page to display and the coordinates it needs to slide the body background image into place.

The index.html page contains 3 divs (aka: pages). The proper "page" will slide into place when the link is clicked.

The links are structrued as follows:

<a href="index.html">page link 1</a>

<a href="index.html?whichPage=1">page link 2</a>

<a href="index.html?whichPage=2">page link 3</a>

This function works in every browser except Firefox 4 (including Firefox 3.6.xx, IE 6 through 8, Chrome 11.0.696.68 and Safari 5.0.5).

The error console does not throw any errors, the page validates using W3C validator.

Our website navigation is controlled by a javascript function that receives a url parameter. The url parameter tells the javascript function which page to display and the coordinates it needs to slide the body background image into place. The index.html page contains 3 divs (aka: pages). The proper "page" will slide into place when the link is clicked. The links are structrued as follows: <a href="index.html">page link 1</a> <a href="index.html?whichPage=1">page link 2</a> <a href="index.html?whichPage=2">page link 3</a> This function works in every browser except Firefox 4 (including Firefox 3.6.xx, IE 6 through 8, Chrome 11.0.696.68 and Safari 5.0.5). The error console does not throw any errors, the page validates using W3C validator.

Athraithe ag Boshco ar

All Replies (2)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25

more options

Thanks cor-el -- I'll definitely do that.