Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2008, 06:46 PM   #1 (permalink)
v7n Mentor
 
searchbliss's Avatar
 
Join Date: 03-25-06
Posts: 761
iTrader: 1 / 100%
searchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nicesearchbliss is just really nice
I'm going nuts!!!

I cannot seem to get the same javascript effect from this script with Firefox. I only works in IE, and I need one that works like it in Firefox as well. Please help! I have converted 30 code generating tools to be compliant with Firefox as well as IE and Netscape, but one tool generates this code and I need to have it generate Firefox friendly code as well...and it's killing me. :confused:
Code:
<html> <head> <title>SearchBliss: Slide Link Drop Menu Example</title> <script language="JavaScript"> <!-- function MM_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; } function MM_changeProp(objName,x,theProp,theValue) { //v3.0 var obj = MM_findObj(objName); if (obj && (theProp.indexOf("style.")==-1 || obj.style)) eval("obj."+theProp+"='"+theValue+"'"); } //--> </script> </head> <body bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="4"> <tr bgcolor="#FFFFFF" valign="bottom" align="left"> <td> <font face="Verdana" size="2">Menu: </font> <select name="s" onChange="MM_changeProp('Layer1','','innerHTML','&lt;MARQUEE SCROLLAMOUNT=120 behavior=slide direction=left&gt;&lt;a href=\&quot;\'+document.all.s.value+\'\&quot; target=\&quot;_blank\&quot; style=\&quot;color:#FF0000;font-family:Verdana;font-size:12px;\&quot;&gt;\'+document.all.s.value+\'&lt;/a&gt;&lt;/MARQUEE&gt;','DIV')" style="color:#FF0000;background-color:#CCCCCC;font-family:Verdana;font-size:12px;"> <option selected>- Select One -</option> <option value="http://www.searchbliss.com/Webmaster-Tools.htm">Webmaster Tools</option> <option value="http://www.searchbliss.com/Free-Website-Content.htm">Free Website Content</option> <option value="http://www.searchbliss.com/generators.asp">Buy Tools</option> </select> <div id="Layer1" style="position:absolute; z-index:1; visibility: visible; width: 700px"></div> </td> </tr> </table> </body> </html>
__________________
SearchBliss Web Tools - SEO Tools, Web Design Tools, Free Website Content...
searchbliss is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 01-05-2008, 06:49 PM   #2 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,927
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
When using the DOM you'll always encounter some difficulties from browsers because not all are DOM compliant and those codes generated by DW were good a few years back but not anymore, at least until they'll get re-written (IMO).

I've been played a little with your script and what really cracked me up was that in FF the marquee never stopped compared to IE where would work perfectly.

I've also tried to dynamically add the link's href and content but, unlike IE, FF never displayed it...so, I'm kind of lost here myself too, I guess...
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
This weather is NUTS! suzjor Forum Lobby 25 04-20-2007 02:51 PM
Mixed Nuts photocrats.com Digital Photography 6 03-29-2007 12:20 PM
This is just nuts!!! G10 Politics 5 12-10-2006 04:46 PM
My sister says Im nuts! pctec Forum Lobby 22 11-18-2006 11:42 AM
SEO driving me nuts Foxtrot3 SEO Forum 4 07-28-2006 11:24 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 06:52 PM.
© Copyright 2008 V7 Inc