pitmanpitmanSILVER Member
addict
544 posts
Location: swansea, United Kingdom


Posted:
i need some help
i want to have 7 images over lapping each other like so
[[[[[[] with the last one visable. does any one know whow to coed it so when i roll my mouse over a pic it comes to the front with out clicking confused thnaks alot

DONT DO DRUGS THERE BAD FOR YOU.
SO GIVE THEM ALL TO ME AND I WILL GET RID OF THEM FOR YOU!


mausmausBRONZE Member
Carpal \'Tunnel
4,191 posts
Location: Sihanoukville, cambodia


Posted:
I would imagine asking Sym the super computer man would be your best bet! smile

SeyeSeyeSILVER Member
Geek
1,261 posts
Location: Manchester, UK


Posted:
theres 2 ways - the easiest is to use flash (if you have access to it).

you can also use an onmouseover scripty thing.

are you using dreamweaver or writing from scratch?

SeyeSeyeSILVER Member
Geek
1,261 posts
Location: Manchester, UK


Posted:
actually thinking about it - you'll have to use flash.

I'm sure you can only layer 2 images before it gets obscenely complicated.

NOnactivist for HoPper liberation.
1,643 posts
Location: ffidrac


Posted:
you can do more than two with combination of javascript and CSS methinks... i found a nice example someplace on the web, i just can't remember where, or what i typed in to find it... can't you ask your girlfriend pitman?

In the meantime if i remember where it was i shall report back, i probably bookmarked it but it might be on the computer at work....

Aurinko freedom agreement reached 10th Sept 2006

if it makes no sense that's because it's NOn-sense.


SymSymBRONZE Member
Geek-enviro-hippy priest
1,858 posts
Location: Diss, Norfolk, United Kingdom


Posted:
You'll be able to do it with onmouseover changing the z-index of the image - I'll cook up some code if you like...

There's too many home fires burning and not enough trees


SymSymBRONZE Member
Geek-enviro-hippy priest
1,858 posts
Location: Diss, Norfolk, United Kingdom


Posted:
Ok, here is a very basic start at what you are trying to do. It would be much better to use a javascript function that looks for all images, sets the z-index and does the mouse over/out stuff, but hey, it's a start!

 Written by:



"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">





Image overlap








There's too many home fires burning and not enough trees


NOnactivist for HoPper liberation.
1,643 posts
Location: ffidrac


Posted:
:claps: Sym to the rescue... hey right now i'm supposed to be doing an assessment for my course in javascript, don't fancy a go do ya sym? wink

hehe, only kidding, we don't learn if we don't do it properly now do we.... *mopes off to try and do some work*

Aurinko freedom agreement reached 10th Sept 2006

if it makes no sense that's because it's NOn-sense.


SymSymBRONZE Member
Geek-enviro-hippy priest
1,858 posts
Location: Diss, Norfolk, United Kingdom


Posted:
hehe, well this is really basic javascript, and I don't really like using things like onmouseover in the tags - javascript shouldn't be in the HTML at all, it should be added after and change the page based on id's, class names and tag names.

Take a look at https://dean.edwards.name/weblog/2006/06/levels/
for an idea...

hug

There's too many home fires burning and not enough trees


pitmanpitmanSILVER Member
addict
544 posts
Location: swansea, United Kingdom


Posted:
nice one eveybody especily sym and non i dont want to ask my girlfriend coz she got loads of work on at the mo and she will just moan at me lol

DONT DO DRUGS THERE BAD FOR YOU.
SO GIVE THEM ALL TO ME AND I WILL GET RID OF THEM FOR YOU!


UCOFUCOFSILVER Member
15,417 posts
Location: South Wales


Posted:
 Written by: Non

an assessment for my course in javascript, don't fancy a go do ya sym?



ubbangel wink

HOP Newsletter

Sign up to get the latest on sales, new releases and more...