Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  yordan : (21 April 2014 - 09:11 PM) Hey, Ritesh, Did You Hear Me?
@  yordan : (14 April 2014 - 05:28 PM) By The Way, This Could Be An Interesting Subject For A Topic, What About Posting This Question? Let's See If Other People Have The Same Feeling Concerning Bootlists!
@  yordan : (13 April 2014 - 09:36 AM) Boot Order : Cd, [Usb,] Hard Drive :D
@  yordan : (11 April 2014 - 07:23 PM) I Simply Let The Bios Do That
@  Ritesh : (11 April 2014 - 10:23 AM) Is It Possible To Launch Fedora Live Cd Or Installation Disk From Hard Drive On Windows Platform Using Grub Mbr File.
@  Ritesh : (11 April 2014 - 10:21 AM) No U Are Not.. Btw.. I Have Question For You.
@  yordan : (10 April 2014 - 08:02 AM) You Are Partially Right.
I Was Not.
Nevertheless, I Am Again :)
@  Ritesh : (09 April 2014 - 07:33 PM) :P
@  Ritesh : (09 April 2014 - 07:33 PM) I Think U R Not..
@  yordan : (09 April 2014 - 09:28 AM) I'm The Master Of The Shoutbox!
@  yordan : (05 April 2014 - 10:32 PM) He-He
@  Ritesh : (04 April 2014 - 06:59 PM) Ha Ha Ha ....
@  yordan : (04 April 2014 - 11:15 AM) Welcome Back, Starscream!
@  yordan : (03 April 2014 - 02:31 PM) And I Hope That He Will Come Back Soon :)
@  yordan : (01 April 2014 - 02:53 PM) Nice, Ritesh Came, I'm Not Home Alone Today.
@  Ritesh : (01 April 2014 - 08:51 AM) Oh!!! Poor Dear Yordan..
@  yordan : (31 March 2014 - 10:02 AM) I'm A Poor Lonesome Cow-Boy
@  yordan : (27 March 2014 - 02:22 PM) He Is Unpatient Due To His Patients!
@  Ritesh : (27 March 2014 - 10:46 AM) :(
@  Ritesh : (27 March 2014 - 10:46 AM) He Is Busy With His Patients.

Photo
- - - - -

Message Showing On Hover


9 replies to this topic

#1 khalilov

khalilov

    Premium Member

  • [HOSTED]
  • 287 posts
  • Gender:Male
  • Location:Atlantis
  • myCENTs:8.08

Posted 28 November 2008 - 04:53 PM

On some sites and game, when you hover your mouse's curser on an image or word. A box containing words/pics/stuff appears where your curser is and when you move your curser away from that word/image the box disappears. How do you do that?

On a side question:

JSP - Java Server Pages - Support: Yes

That costs $1.99 USD per month (2$), is it necessary to run simple simple ajax (getting info from server without loading page) or to run what i asked for at the begining of this post. Because i already paid for it twice and iam gona pay for it on 1/1 and i still don't know if its a necessity. Cuz if its not, iam just burning money since iam not using any advanced java functions/applications.

#2 toby

toby

    Super Member

  • Members
  • 611 posts

Posted 28 November 2008 - 06:04 PM

Can you get a screenshot? It sounds like making a box hover over everything else. If you mean a box appear, like fast reply, then it's even simpler. Everything do-able in js is doable for free.

#3 Quatrux

Quatrux

    the Q

  • [HOSTED]
  • 1,669 posts
  • Gender:Male
  • Location:Lithuania, Vilnius
  • Interests:PHP, MySQL, Oracle, PL/SQL, HTML, CSS, Javascript, jQuery, C# Computers, Alternative OS, Amiga, MorphOS, Beer, Friends, Linux, KDE..
  • myCENTs:30.76

Posted 28 November 2008 - 07:36 PM

To tell the truth, I usually get annoyed by those kind of things, you read an article and when you move a mouse you get that stupid stuff, which I don't even want to read though, usually I just hover on them by accident to move my mouse somewhere else when trying to scroll or trying to change a tab, why would you want that? I always thought it was an Ad or something like information about the word/keyword :rolleyes:

#4 pyost

pyost

    Way Out Of Control - You need a life :)

  • Members
  • 1,090 posts
  • Gender:Male
  • Location:Vancouver, British Columbia
  • myCENTs:67.69

Posted 28 November 2008 - 09:32 PM

On some sites and game, when you hover your mouse's curser on an image or word. A box containing words/pics/stuff appears where your curser is and when you move your curser away from that word/image the box disappears. How do you do that?

On a side question:

That costs $1.99 USD per month (2$), is it necessary to run simple simple ajax (getting info from server without loading page) or to run what i asked for at the begining of this post. Because i already paid for it twice and iam gona pay for it on 1/1 and i still don't know if its a necessity. Cuz if its not, iam just burning money since iam not using any advanced java functions/applications.


You don't need JSP for AJAX - AJAX stands for "Asynchronous JavaScript And XML", which make JavaScript the only requirement, and this is controlled by your visitors. But bare in mind that Java and JavaScript are two completely different things that have no connection whatsoever. This is something that is usually confusing for those who are entering the world of web programming, so it's best to deal with the problem right away.

However, I don't think even AJAX is necessary for what you want to do. Essentially, you need a hidden container box with the text you want displayed. When you move the mouse above a link or an image, JavaScript would display that box (which would have to be positioned properly), and hide it once the mouse has moved. The hidden text can be acquired through AJAX, but if you can load it when display the page, there is no need to make it more complicated.

#5 yordan

yordan

    Way Out Of Control - You need a life :)

  • [MODERATOR]
  • 4,745 posts

Posted 28 November 2008 - 09:49 PM

To tell the truth, I usually get annoyed by those kind of things
why would you want that?

Maybe, precisely, he wants to annoy us ? Or he wants to put his own ads where your mouse is ?

#6 FirefoxRocks

FirefoxRocks

    Super Member

  • [HOSTED]
  • 988 posts
  • Gender:Male
  • Location:Ontario, Canada
  • myCENTs:92.36

Posted 28 November 2008 - 10:38 PM

I used to use this method: http://jlhaslip.trap...tips/index.html

It is very useful and can even include images or be used on images as a tooltip. Keep in mind that the title attribute is for semantic purposes as well as accessibility.

#7 khalilov

khalilov

    Premium Member

  • [HOSTED]
  • 287 posts
  • Gender:Male
  • Location:Atlantis
  • myCENTs:8.08

Posted 29 November 2008 - 10:06 AM

Maybe, precisely, he wants to annoy us ? Or he wants to put his own ads where your mouse is ?

No :P

You don't need JSP for AJAX - AJAX stands for "Asynchronous JavaScript And XML", which make JavaScript the only requirement, and this is controlled by your visitors. But bare in mind that Java and JavaScript are two completely different things that have no connection whatsoever. This is something that is usually confusing for those who are entering the world of web programming, so it's best to deal with the problem right away.

That means i burnt 4$ :/, iam gona contact them and ask them if i can degrade my acount since we still haven't entered december, maybe i can save 2$. ( i sound like a cheap ass :rolleyes:).

To tell the truth, I usually get annoyed by those kind of things, you read an article and when you move a mouse you get that stupid stuff, which I don't even want to read though, usually I just hover on them by accident to move my mouse somewhere else when trying to scroll or trying to change a tab, why would you want that? I always thought it was an Ad or something like information about the word/keyword tongue.gif

Its a game, i need it for an idea inside that game =)

I used to use this method: http://jlhaslip.trap...tips/index.html

It is very useful and can even include images or be used on images as a tooltip. Keep in mind that the title attribute is for semantic purposes as well as accessibility.

Thats what i need appreciated =)

#8 pyost

pyost

    Way Out Of Control - You need a life :)

  • Members
  • 1,090 posts
  • Gender:Male
  • Location:Vancouver, British Columbia
  • myCENTs:67.69

Posted 29 November 2008 - 01:16 PM

Glad I could help :rolleyes:

#9 khalilov

khalilov

    Premium Member

  • [HOSTED]
  • 287 posts
  • Gender:Male
  • Location:Atlantis
  • myCENTs:8.08

Posted 30 November 2008 - 09:49 AM

K i canceled it and got 1.99$ back, glad to have recieved fast support especially on saturday =)
now i only have to pay $1.95 USD monthly LOL, its so easy to maintain that now XD, ~4$ was a pain. Now i only need0.065$ per day. Iam sure i got more than that in this post XD. That free domain is comign soon =)

Edited by khalilov, 30 November 2008 - 09:51 AM.


#10 TavoxPeru

TavoxPeru

    Super Member

  • [HOSTED]
  • 876 posts
  • Gender:Male
  • Location:Lima - Peru
  • Interests:Web and Software development, Internet, Computers, Electronic music, music, soccer.
  • myCENTs:13.21

Posted 02 December 2008 - 05:46 AM

On some sites and game, when you hover your mouse's curser on an image or word. A box containing words/pics/stuff appears where your curser is and when you move your curser away from that word/image the box disappears. How do you do that?

On a side question:

That costs $1.99 USD per month (2$), is it necessary to run simple simple ajax (getting info from server without loading page) or to run what i asked for at the begining of this post. Because i already paid for it twice and iam gona pay for it on 1/1 and i still don't know if its a necessity. Cuz if its not, iam just burning money since iam not using any advanced java functions/applications.

For your first question, there are some ways to do that, a few of them are:
  • With only HTML you use the title property to show some text as a tooltip like in the following:

    <img src="your_image_file" title="Text to show when hover on" border="0">
  • With HTML and CSS you can do some more interesting things, generally you use this with hyperlinks, images or elements that support the :hover CSS pseudo class.

  • With HTML, CSS and Javascript you can do very interesting things, in this case you use a DIV element as a container block where you can put inside it, not only text or an image, also you can include there any element you want, like a table with hyperlinks, images, etc.
At the Andes Life Shopping Cart page you can view a live example of these techniques.

You can view the first technique when you hover on the image located at the top right of the page, which in fact is an image map, the second technique happens when you hover your mouse over any product row of the products table, and the third technique is used on the header row of the products table, and happens when you hover your mouse over the Check or the Quantity cells only, simply shows some text using plain text and the STRONG html tag for emphasize a phrase.

For your second question, you don't need to pay if you want to use AJAX.

Best regards,



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users