Computer Forums

Go Back   Computer Forums > Internet > Website Development

Website Development HTML, traffic, hosting, and more... this is the forum for every webmaster.

Register Now for FREE!
Computer Forums

Username: Password: Confirm Password: E-Mail: Confirm E-Mail:
Agree to forum rules 


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-18-2007, 12:12 AM
kirkyturky's Avatar
Premium Member
 
Join Date: 12 Apr 2007
Location: UK
Posts: 72
kirkyturky is on a distinguished road
Default Hover - Images - Language.

Hey.

Hmmm, what language is it where: Like you hover over an image and you can have it enlarge on the screen or something....? I see it all the time, and they usually anoy me, but now I want one!

Kirk.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-18-2007, 07:04 AM
Tom Tom is offline
Gigabyte
 
Join Date: 16 Mar 2007
Posts: 409
Tom is a jewel in the roughTom is a jewel in the roughTom is a jewel in the roughTom is a jewel in the rough
Default Hover Images

Not sure exactly what you mean, but I may have an idea.

One type of "hover image" is that of advertisements that popup when you draw your mouse over a double-underlined text in a web page. This is DHTML script (I hate it).

Another one, that is more user friendly, is when you draw your mouse over a hyperlink and it popups an image in a small frame, of the site it links to. One company that offers this is SnapShots. This type if mouse-over affect is more user-friendly because the user is generally given the option (in the frame itself) to TURN OFF SnapShots for the entire page.

Another one, sometimes used as basic sript (img hover), is a mouse-over/rollover affect using HTML/CSS and/or javascript. This is very easy to code in a web page. Is what happens in this script is first you insert image code, and then designate a second image as the hover afftect.

Code:
 HEAD:
<script type="text/javascript">
var a = new Image(); a.src = 'root.gif';
var b = new Image(); b.src = 'hover.gif';
var c = new Image(); c.src = 'active.gif';
</script>

BODY:
<a href="whatever" onmouseover="document.images['s1a'].src='hover.gif';"
 onmouseout="document.images['s1a'].src='root.gif';">
<img src="root.gif" name="s1a" height="50" width="50" alt="" border="0"></a>
Did this help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-18-2007, 11:33 AM
kirkyturky's Avatar
Premium Member
 
Join Date: 12 Apr 2007
Location: UK
Posts: 72
kirkyturky is on a distinguished road
Default

Hmm, I kinda got it to work thanks, but it seems to flash a few times as you hover over it?
Quote:
HEAD:
<script type="text/javascript">
var a = new Image(); a.src = 'root.gif';
var b = new Image(); b.src = 'hover.gif';
var c = new Image(); c.src = 'active.gif';
</script>

BODY:
<a href="whatever" onmouseover="document.images['s1a'].src='hover.gif';"
onmouseout="document.images['s1a'].src='root.gif';">
<img src="root.gif" name="s1a" height="50" width="50" alt="" border="0"></a>
Am I to replace 'Var A/B/C ??
And what does 's1a' mean?

Many Thanks.
Kirk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-27-2007, 02:39 AM
Newbie
 
Join Date: 27 Jun 2007
Posts: 1
digitalpbk is on a distinguished road
Default

U can always use CSS.. heres a css rollover
Hey look everybody! I'm an annoying spammer!
... i guess u can increase the size just by changing the width: and height: properties

Last edited by Ash; 06-27-2007 at 07:52 AM. Reason: Spam link
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-27-2007, 03:10 AM
blueparukia's Avatar
Nuisance Member
 
Join Date: 13 Apr 2007
Location: Australia
Posts: 455
blueparukia has a spectacular aura aboutblueparukia has a spectacular aura about
Default

Aye, CSS is the best way to go. Or a HTML rollover image. I don't have the code with me though.
________________________
This user added the following:
________________________
I'm going to disregard my own advice, and ask for similar help. This will make my site look better but is not necessary.
Say I have an image (80*80 if it matters) with nothing on it but a "?".
I then have text (a list) on a cloumn beside the pic. When I hover over a list item (which are all hyperlinks) the image changes depending on what item youre hovering over.

Thanks for help,

BP
__________________
I am your friendly CompuForums moderator . Send me a Private Message if you have an issue with this site or a specific member. I am best at Web Development, though I will try to answer all your questions to the best of my ability.


Last edited by blueparukia; 06-27-2007 at 05:07 AM. Reason: Double Post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-02-2007, 04:02 PM
Newbie
 
Join Date: 02 Jul 2007
Posts: 4
brian is on a distinguished road
Default

Yep I would go with a css rollover...it'll be the most supported for you, and should work even when people have javascript disabled...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-02-2007, 05:17 PM
kirkyturky's Avatar
Premium Member
 
Join Date: 12 Apr 2007
Location: UK
Posts: 72
kirkyturky is on a distinguished road
Default

Ahhhh, right. Well thank you. Umm, I use DreamWeaver for 'most' of my Web Stuff, - Would I have to type, or does anyone know of DreamWeavers (8) - Funtions for this?!

Lol, basically. Can DreamWeaver do this for me?!

Thanks. Kirk.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-04-2007, 07:36 AM
blueparukia's Avatar
Nuisance Member
 
Join Date: 13 Apr 2007
Location: Australia
Posts: 455
blueparukia has a spectacular aura aboutblueparukia has a spectacular aura about
Default

Dreamweaver can make a basic rollover image. Go to Insert>Interactive Image>Rollover Image

I recommend using code though, and Notepad++ as a code editor.
__________________
I am your friendly CompuForums moderator . Send me a Private Message if you have an issue with this site or a specific member. I am best at Web Development, though I will try to answer all your questions to the best of my ability.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:38 AM.



Powered by: vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Content © Copyright 2005-2008 CompuForums. All Rights Reserved. Some content © Copyright of the respective owners.
Cheap Electricity - Loans - Loan - Loans

Content Relevant URLs by vBSEO 3.2.0 RC5