HighDots Forums  

IE Rollover Problem in Frame

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss IE Rollover Problem in Frame in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Gary White
 
Posts: n/a

Default Re: IE Rollover Problem in Frame - 01-01-2009 , 06:43 PM






On Thu, 1 Jan 2009 13:44:51 -0500, "Murray *ACE*"
<forums (AT) HAHAgreat-web-sights (DOT) com> wrote:

Quote:
Assuming you mean "wreak", yes, that too! 8)

If not, then your suggestion reeks.
Using names with spaces in them reeks, no?

Gary


Reply With Quote
  #12  
Old   
Gary White
 
Posts: n/a

Default Re: IE Rollover Problem in Frame - 01-01-2009 , 06:45 PM






On Thu, 01 Jan 2009 13:58:02 -0500, Michael White
<mwhite13 (AT) rochester (DOT) rr.com> wrote:

Quote:
Not really.

document.images["image name here"].onmouseover=function(){...}

Should work fine. No havoc *wreaking* there.
Hmmm ... I've run into problems before with js and spaces in names.
Perhaps it was file names with spaces that were the problem. I've avoided
spaces in both for so long now that I don't remember for certain.

Gary


Reply With Quote
  #13  
Old   
Michael White
 
Posts: n/a

Default Re: IE Rollover Problem in Frame - 01-01-2009 , 07:48 PM



Gary White wrote:
Quote:
On Thu, 01 Jan 2009 13:58:02 -0500, Michael White
mwhite13 (AT) rochester (DOT) rr.com> wrote:

Not really.

document.images["image name here"].onmouseover=function(){...}

Should work fine. No havoc *wreaking* there.

Hmmm ... I've run into problems before with js and spaces in names.
Perhaps it was file names with spaces that were the problem. I've avoided
spaces in both for so long now that I don't remember for certain.

Gary
A js variable can not contain spaces, but an object's property can if it
is enclosed in brackets. Even a global object:

window["The Meaning of Life"]=41.9

Mick




Reply With Quote
  #14  
Old   
Gary White
 
Posts: n/a

Default Re: IE Rollover Problem in Frame - 01-02-2009 , 09:00 AM



On Thu, 01 Jan 2009 19:48:52 -0500, Michael White
<mwhite13 (AT) rochester (DOT) rr.com> wrote:

Quote:
A js variable can not contain spaces, but an object's property can if it
is enclosed in brackets. Even a global object:

window["The Meaning of Life"]=41.9
You are talking about a js variable name cannot contain spaces, right?
That just seemed so obvious that I wanted to make sure I understood. I
think what I may have been remembering was something like:

window.open("a page name with spaces.html");

However, testing it now, it seems to work. Perhaps it was in older
browsers. I dunno, I'm getting way too forgetful any more.

Gary


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.