Help: getURL not working on all browsers to access Javascript

This is a discussion on "Help: getURL not working on all browsers to access Javascript" within the Flash & Multimedia Forum section. This forum, and the thread "Help: getURL not working on all browsers to access Javascript are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 22nd, 2007, 15:43
New Member
Join Date: Jan 2007
Location: New Yawk
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question Help: getURL not working on all browsers to access Javascript

Hi everyone. This is my first post. I have a question regarding a website I am developing.

I had previously developed a navigation bar with rollover images in Dreamweaver to link to a javascript command in a seperate folder. However to reduce the download time and have a more uniform look I've redone the navbar in Flash which I like alot. However if I use the getURL command in the actionscript button to access the javascript it only works in Safari and NO other browser.

The navbar exists on the same page as the html on a layer.

This is the site without the Flash navbar:
www.nibroctrilogy.com/WIP/

And this is the site with the Flash navbar that only works in Safari:
www.nibroctrilogy.com/WIP2/

The javascript command is:
<a href="javascript:;" onclick="dw_scrollObj.scrollTo('wn',0,0); return false" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/nav/home2.gif',0)"><img src="images/nav/home1.gif" name="home" width="67" height="26" border="0" id="home" /></a>

The actionscript command is:
on (release) {
getURL("javascript:dw_scrollObj.scrollTo('wn',0,0) ; return false");
}

Any help on this would be much appciated. I am working in Flash 8.

Thanks!
Reply With Quote

  #2 (permalink)  
Old Jan 22nd, 2007, 21:33
New Member
Join Date: Jan 2007
Location: New Yawk
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Help: getURL not working on all browsers to access Javascript

Okay got it to work in almost all browsers except Firefox for windows. The offending code was the "return false" parameter.
Anyone have any clues about how I can get it to work properly in Firefox for Windows?

Thanks
Reply With Quote
Reply

Tags
help

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Some javascript not working in Firefox jonnymorris Web Page Design 4 Sep 18th, 2007 14:02
Some javascript not working in Firefox jonnymorris JavaScript Forum 4 Sep 18th, 2007 10:47
Javascript not working in xhtml adnanoner JavaScript Forum 0 Aug 4th, 2007 23:24
using JavaScript to open/access another sites jayaramgussy JavaScript Forum 0 Jul 5th, 2007 06:52
javascript working fine in IE but cannot work in Firefox web20tester JavaScript Forum 0 May 21st, 2007 17:37


All times are GMT. The time now is 05:41.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43