How do they create pop-up window descriptions like these?

DotaStrategy.com Forum Index > Bugs & Suggestions > How do they create pop-up window descriptions like these?

This topic is locked: you cannot edit posts or make replies.
 

canas24


Warnings : 1 Iloilo's Best Player! Beware! ^^,
Mega Kill Posts: 670 Joined: 24 May 2006 3147 gold

How do they create pop-up window descriptions like these?

Posted: Tue Jun 19, 2007 10:05 am



How can they put this when you point your cursor on an image like this? Embarassed


We can also use some of these in our sites to compete and to help others too! Smile
_________________
Lion - The Demon Witch
YOU WILL NEVER GO BACK TO THE FOUNTAIN ALIVE!!! >Very Happy


Reply with quoteView user's profileSend private messageSend e-mailVisit poster's website


Back to top
 

TwistedFirestarter


Warnings : 3 Mega Kill Posts: 927 Joined: 20 Mar 2007 88662 gold

Posted: Tue Jun 19, 2007 10:49 am

Upon studying the page source i have found that they use javascript to make those "pop up boxes".

From what i understand, what they do is store each hero description in an array (A variable that can store more than one value) then they have a command which makes a "pointer help" box (pop up box) appear "onmouseover". This means when you move your mouse over the icon, the "pop up box" will appear and inside the box they put in the value stored in the array which in our case is the hero descriptions.

All this code to make to "pop up box" is put in after the url reference for your image.

It looks rather complex when u view the page but if u understand javascript, its quite easy to understand whats going on...

btw if you want to view the page source for yourself then just go to the page and click View -> Page Source or u can alternatively use the shortcut keys ctrl+U ...

And that my friend is how they made the "pop up boxes"...


_________________

(Click Image) Exclusive Forum, Join Today!
GET DOTA HERO GIFS HERE!


Reply with quoteView user's profileSend private message


Back to top
 

third L


Killing Spree Posts: 69 Joined: 26 Jun 2007 1512 gold

Posted: Mon Jul 09, 2007 2:46 pm

yep, thats what its is... i have one in my friendster site too.
_________________


It's 5 minutes to midnight.
Are you ready?


Reply with quoteView user's profileSend private messageSend e-mailYahoo Messenger


Back to top
 

canas24


Warnings : 1 Iloilo's Best Player! Beware! ^^,
Mega Kill Posts: 670 Joined: 24 May 2006 3147 gold

Posted: Tue Jul 10, 2007 12:31 pm

Its soooo hard to make one. T.T
_________________
Lion - The Demon Witch
YOU WILL NEVER GO BACK TO THE FOUNTAIN ALIVE!!! >Very Happy


Reply with quoteView user's profileSend private messageSend e-mailVisit poster's website


Back to top
 

drew


Most Awesome Admin
Site Admin Posts: 935 Joined: 08 Apr 2006 275850 gold

Posted: Tue Jul 10, 2007 12:37 pm

It's javascript. And no, I'm not gonna do this for the site.
_________________

GET YOUR DS SHIRT NOW!



Share Your Sigs and Renders

^^ I know, but I'm exempted!! ^^


Reply with quoteView user's profileSend private messageSend e-mailVisit poster's websiteYahoo Messenger


Back to top
 

yukino_silvermaine


Cauducum Sanctus
Moderator Posts: 6741 Joined: 12 Aug 2006 62969 gold

Posted: Wed Jul 11, 2007 4:42 am

Oooops.

Forgot to close.
_________________


Signature Size Limit: 475x175 pixels [width x height] One image ONLY OR up to 3 Userbars || 3 Lines of text MAX. DO NOT BUG ME ABOUT YOUR PENDING STRATEGIES, HERO IDEAS AND/OR ITEM IDEAS OR ELSE


Reply with quoteView user's profileSend private message


Back to top
 
 
This topic is locked: you cannot edit posts or make replies.
Page 1 of 1    



View previous topic   View next topic
All times are GMT

Display posts from previous:    

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Jump to:  


DotaStrategy.com Forum Index    .    Bugs & Suggestions
Subscribe to Feed