Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layers Problem 2

Status
Not open for further replies.

Firehawk734

Technical User
Jan 22, 2002
155
US
I am a newbie with Macromedia MX.

I dont understand why when I make a layer, and then view it in iexplorer it moves.

I have first of all, a jpg created in fireworks, and its on an index page in macromedia.

I then made a layer, and put some text , and set it as a link to enter the site, but when I go to view the whole html page it moves the layer on me.

is there a way to lock the layer in place?? thanks
 
What more do you need??? I dont have the file available for you to open in dw but u can see it online,
The "enter delta zeta" moves over to the left a little bit when i view it, but in dw its lined up with the other text.

Dont know what else u need to know.
 
Is that all? :) Such a perfectionist...

Just kidding... I don't know if this will help, but if you know a bit about HTML, then you can look at your code to see how it's presenting your layer. Click on the layer, then switch to code view. Look for the highlighted part; it'll probably start with a <div...> tag.

The thing I've found with layers is that you position them with pixel coordinates, but those coordinates don't always look the same in different browsers, or with different resolutions. I guess that's just the risk you take with layers.

But anyway, somewhere in your <div> tag, you'll find x and y coordinates, and you can play with the coordinate values to try and line the text up exactly. The best thing I can suggest is trial and error. If it's too far to the left, make the x value a bit bigger, and so forth.

I'm kind of a newbie to layers myself, so if anyone else has a better method, please let me know! Good luck!

--Ryan
 
In my opinion layers are bed. I mean they could be OK, but keeping in mind browsers compatibility - layers are bed :))
I personally don't use layers. Use tables instead. IMHO Good Luck! :)
 
Tables are just as bad dude. At least for me, they do the same dang thing.

Ok snoopy, Ill try it out. Thanks.
 
you can get an extension, free from the macromedia site, called 'center layers', get this and play around with its x and y coordinates to get an exact positioning. I would use this extension, but unfortunately I dont get the 'onLoad' option for it, although everyone else seems to, must be something wierd with my setup.
You could always try putting a % in, in the properties, instead of using pixels.
 
There are some minor issues regarding Netcrap and layers (it STILL doesn't render them properly at times) but you have a different issue.

If your page isn't already too heavy - make the &quot;Enter Delta Zeta Sorority&quot; part of the graphic. Then use a hot spot to make that area/text active (a link).

I don't usually use tables but in this case I would be tempted considering your layout. That way you could easily get the graphic to float in the center of the page regardless of the screen resolution and window size. Peace
BT
 
On Sept 23rd last, Techuser Sawfish wrote:

you can get an extension, free from the macromedia site, called 'center layers', get this and play around with its x and y coordinates to get an exact positioning. I would use this extension, but unfortunately I dont get the 'onLoad' option for it, although everyone else seems to, must be something wierd with my setup.

Now I am suffering from the same issue....no onLoad handler shows up in the Behaviors box handler drop-down list. I am not sure if this is an issue with my software (DW MX) or a bug or what....any ideas plse?

Thanx.

Nick

 
Hi Nick,

do next:

1) open Behaviours panel;
2) click on the disered behaviour;
3) click small arrow and select Show Events For;
4) select 4.0 and later browsers.

If it doesn't help choose another events settings (let's say 5.0 or later)... Good Luck! :)
 
Thanks Eugene,

I have actually got it set to IE 5.5. Seems to be a bug in MX where onLoad gets wiped from the list. Trying to resolve through MM.

Cheers,

Nick
 
I don't think there is a bug with DW MX... Sure that you're doing everything right? Good Luck! :)
 
make sure the event is on the layer

<layer id=&quot;myLayer&quot; onload=&quot;your function&quot;> [soapbox]
sleep is good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top