HighDots Forums  

help with javascripting please!!!

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss help with javascripting please!!! in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Getho
 
Posts: n/a

Default help with javascripting please!!! - 07-16-2003 , 07:05 AM






Howdy,

I've written some kindergarden javascript for a site to do a really simple
booking form. It uses session cookies and it works OK BUT in mozilla (1.3)
theres a few weirdnesses. There are 2 buttons for each course (10 courses
to a page). you click the 1st and it writes a cookie, click another and it
writes another. Clicking the 2nd button also re-directs to the booking form.

I had attached the action to a mouseup on a href to the booking form page,
but in mozilla and netscape it would execute the javascipt and then always
go to the booking form (not what I wanted). So currently theres just a "#"
as the link. But Mozilla 1.3 takes 3 clicks on the 2nd choice before it
will go to the booking form.

the script uses this
location.href = "booking-form.html";
to get to the booking form. Is it possible thats the problem??

page is here... http://www.campcreative.com.au/courses-visual-arts.html

the top course has the new link, the others have the old.

I've taught myself this stuff so I may be doing something horrible. Please
let me know!

Gethin



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.