Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie

Firefox 4 does not pass url parameters to the javascript function

  • 2 odpovede
  • 9 má tento problém
  • 4 zobrazenia
  • Posledná odpoveď od 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.

Upravil(a) Boshco dňa

Všetky odpovede (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.