Jump to content


Photo

Displaced rollover


  • Please log in to reply
4 replies to this topic

#1 Tratos

Tratos

    title available

  • Project Team
  • 562 posts

Posted 22 July 2006 - 12:23 AM

Can anyone tell me how to go about setting up a displaced rollover, in either javascript or (if possible) php?
Posted Image

#2 Cobra

Cobra

    The Renegade

  • Banned
  • 1,048 posts
  • Location:Cobra's Lair
  • Projects:Quite a Few
  •  Resident Kiwi

Posted 25 July 2006 - 08:31 AM

What do you mean by 'displaced' ? as in like it moves to the side when u roll over it?

Dmain | I-Cold | earthWhois
Dmain Now offers .mobi extensions....why? Because we can :D

Posted Image

Posted Image


Update: EAW Galaxy is almost ready for launch. We're currently in need of forum staff and content writers for the main site. Please PM or Email me ASAP.

BFME Fans if you think you have what it takes, bfmeworld.com would love to be built. I have neither the time, nor the motivation any longer...


#3 Kravvitz

Kravvitz

    [X]HTML, CSS, & JS/DOM Adept

  • Members
  • 443 posts
  • Location:USA

Posted 29 July 2006 - 10:01 PM

Hello again, Tratos. :p It's been a while.

I think Tratos means that when you rollover something, a box elsewhere on the page becomes visible or changes in some other way.

PHP is a server-side language, as such you would have to reload the page for it to be used to do something like that.

You JavaScript is most often used to do that.

Keep in mind that some Internet users use a browser that doesn't have JavaScript enabled.

The Importance of Degrading Gracefully
Perpetuating the myths of JavaScript degradation.

Edited by Kravvitz, 29 July 2006 - 10:01 PM.


#4 DeathRay2K

DeathRay2K
  • Members
  • 96 posts
  • Location:Canada
  • Projects:D2K Studios, Xaeon Mod, Unseen Presence, Rhythm Mixer, Website Designs, CSS OS

Posted 04 August 2006 - 06:29 AM

Or you can do that sort of thing with CSS. :p

#5 Blodo

Blodo

    The one who disagrees

  • Project Team
  • 3,002 posts
  • Location:Eastern Europe
  • Projects:siteMeister, Mental Omega
  •  The wise guy

Posted 04 August 2006 - 11:39 AM

Bearing of course in mind that it either might or might not work in all the browsers out there. Javascript is more reliable, and frankly - people who turn off javascript in their browsers have something done wrong with their heads. But since it's beginning to be like a plague (kinda like firefox), just design the javascript like so so that no functionality is lost if someone does have it off.

ARGUMENT FROM CREATION, a.k.a. ARGUMENT FROM PERSONAL INCREDULITY (I)
(1) If evolution is false, then creationism is true, and therefore God exists.
(2) Evolution can't be true, since I lack the mental capacity to understand it; moreover, to accept its truth would cause me to be uncomfortable.
(3) Therefore, God exists.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users