Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Firefox 4 does not pass url parameters to the javascript function

  • 2 відповіді
  • 9 мають цю проблему
  • 4 перегляди
  • Остання відповідь від 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.

Змінено Boshco

Усі відповіді (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.