|
[Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! |
|
|
Author |
Message |
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 4:51 am |
|
|
- Quote :
Updates : *Added ready-to-paste code *Removed Scrollbar on IE *Photobucket as Image Host *I upload imageMenu.css and imageMenu.js at different host site. *UPDATED links. http://stoopid-ppl.com/scripts/imageMenu.css http://stoopid-ppl.com/scripts/imageMenu.js
Is your navigation lame? boring? or whatever? Well, Here's a good one for you! CREDITS : http://www.phatfusion.net/imagemenu/ << kewl nav http://www.deviantart.com << image source a pinch of ME << for editing some of the codes ( usable for friendster profiles. ) Preview : CLICK HERE Screenshot : - Spoiler:
Here's how to use it : Paste this on your JS Extension. - Code:
-
document.getElementById("navigation").innerHTML = "<iframe src=\"http://stoopid-ppl.com/scripts/KewlNavi.html\" width=\"550\" height=\"220\" border=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>";
If you want to reposition it, use this CSS Code : - Code:
-
#navigation { position: relative !important; left: 130px !important; /* Edit this if you want to reposition it */ }
FOR ADVANCED USER( If you want to make your own image ) 1. Create a HTML file and name it "Navi.html" (without the quotes), and paste this code : then, save. - Quote :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Navigation</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"></script> <script type="text/javascript" src="http://stoopid-ppl.com/scripts/imageMenu.js"></script> <link href="imageMenu.css" rel="stylesheet" type="text/css" /> <script> // no direct access defined('_JEXEC') or die('Restricted access'); JHTML::_('behavior.mootools'); </script> </head> <body bgcolor="#000000"> <div id="example"> <div id="imageMenu"> <ul> <li class="home"> <a href="http://www.friendster.com" target="_self">Home</a> </li>
<li class="profile"> <a href="http://profiles.friendster.com/user.php" target="_self">Profile</a> </li>
<li class="messages"> <a href="http://www.friendster.com/messages.php" target="_self">Messages</a> </li> <li class="settings"> <a href="http://www.friendster.com/editaccount.php" target="_self">Settings</a> </li>
<li class="logout"> <a href="http://www.friendster.com/logout.php" target="_self">Logout</a> </li> </ul> </div> <script type="text/javascript"> window.addEvent('domready', function(){ var myMenu = new ImageMenu($$('#imageMenu a'),{ openWidth:310, border:2, onOpen:function(e,i){top.location=(e);}}); }); </script> </div>
</html> </body> Noticed the colored text above? Focus on that one. 2. Now, Create a CSS and name it "imageMenu.css" . (without the quotes) Here's the code : - Quote :
/* Kewl Nav CSS */ #imageMenu { position: relative; width: 500px; height: 200px; overflow: hidden; }
#imageMenu ul { list-style: none; margin: 0px; display: block; height: 200px; width: 1000px; }
#imageMenu ul li { float: left; }
#imageMenu ul li a { text-indent: -1000px; background:#FFFFFF none repeat scroll 0%; border-right: 2px solid #fff; cursor:pointer; display:block; overflow:hidden; width:98px; height: 200px; }
#imageMenu ul li.home a { background: url(images/home.jpg) repeat scroll 0%; }
#imageMenu ul li.profile a { background: url(images/profile.jpg) repeat scroll 0%; }
#imageMenu ul li.messages a { background: url(images/messages.jpg) repeat scroll 0%; }
#imageMenu ul li.settings a { background: url(images/settings.jpg) repeat scroll 0%; }
#imageMenu ul li.logout a { background: url(images/logout.jpg) repeat scroll 0%; width: 310px; } .clear { clear: both; } /*************************************************************/
^ Change the colored text above in to a URL of your desired image. Tip : Use 320 x 200 px images. Images I used : ^ I really hope that this has no duplicate coz I'm having a hard time fixing the code. . I also made the images. Ready to paste code : - Code:
-
<script src="http://www.stormpages.com/flint0131/kewl_navi.js"></script>
NOTE : If you're going to use the Ready-to-paste code, you cannot edit the images on the navigation. Have a nice day.
Last edited by flint0131 on Thu Mar 05, 2009 10:25 pm; edited 14 times in total
|
|
|
|
|A|L|M|A|R|
HCG Wizard
> : HCG HERE I COME!!
Posts : 73
Age : 31
Location : Art & Design Section
Reg-Date : 2008-12-29
Forum Warning :
Contribution :
|
|
|
|
Jayzkie1407
HCG Addict
> : hiding on my shadow :)
Posts : 472
Age : 34
Location : somewhere close to your heart
Mood : Alone
Country :
Reg-Date : 2008-12-05
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 8:48 am |
|
|
coOl one dude... kip on posting new stuffs.. ^_^ i'll try this later..
|
|
|
|
janbuniel
HCG Geek
> : im always here (online@ 11:00 in noon until 11:30 pm in the afternun still online (:!
Posts : 925
Age : 28
Location : HAWALLI [KUWAIT]
Mood : Gloomy
Reg-Date : 2008-11-05
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 9:11 am |
|
|
kewl tiga in mine 7 na :]
|
|
|
|
Daryll
Administrator
> : meet my pet. PUSSY !! :))
Posts : 1803
Age : 32
Location : Recycle Bin. :))
Mood : Good
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 9:33 am |
|
|
CREDITS : http://phatfusion.net/imagemenu/ anyway , set 7 users can also use this : - Code:
-
document.write('<iframe src=\"http://h1.badwaresite.www/murdermydolly/kewl_nav/index.html\" width=\"550\" height=\"220\" border=\"0\" frameborder=\"0\"></iframe>'); ps. ripway is not a good host. youll run out of bandwidth in no time . :)
|
|
|
|
Rom@Work
HCG Addict
> : I love HCG!
Posts : 297
Age : 31
Location : Quezon City
Mood : Alone
Country :
Reg-Date : 2008-10-02
Forum Warning :
Contribution :
|
Subject: hoy Tue Jan 06, 2009 10:36 am |
|
|
|
|
|
|
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 11:14 am |
|
|
Oh~ I'm sorry I forgot to put some credits. I was so sleepy this morning. Haha. TOPIC EDITED
|
|
|
|
krizhia24
HCG Addict
> : If I could turn back time, I still want to meet you and love you. ;]
Posts : 274
Age : 32
Mood : Amused
Country :
Reg-Date : 2008-11-22
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 11:18 am |
|
|
Thanks fer sharing dude .... nice!
|
|
|
|
Danica_love_Adrian
HCG Wizard
> : SORRY IM TAKEN!
Posts : 99
Age : 31
Country :
Reg-Date : 2008-11-17
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 2:34 pm |
|
|
|
|
|
|
Chirokipau
Global Mod
> : LOL?XD
Posts : 1836
Age : 31
Location : Cavite.General trias.
Mood : Happy
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 5:51 pm |
|
|
Nice trick dude.. :]] thank's for sharing this here.. :P
|
|
|
|
ahn min hyo
HCG Elite
> : inge repu :)
Posts : 1022
Age : 33
Mood : Good
Country :
Reg-Date : 2008-12-01
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 6:10 pm |
|
|
|
|
|
|
Ryanpot
HCG Addict
> : Sagin lng ang may ♥
Posts : 292
Age : 34
Location : Jan lng nman..ü
Mood : Bittersweet
Country :
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 6:29 pm |
|
|
bro! is this compatible in internet explorer?
|
|
|
|
GummyBearXD
HCG Freak
> :
Posts : 135
Age : 31
Location : Recycle bin :))
Mood : Happy
Country :
Reg-Date : 2008-11-12
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 6:43 pm |
|
|
im gonna use this trick.. thanks for sharing !
Last edited by GummyBearXD on Tue Jan 06, 2009 7:26 pm; edited 2 times in total (Reason for editing : nvm)
|
|
|
|
-retired-
HCG Addict
> : adiik sa'u
Posts : 235
Age : 34
Mood : Confused
Country :
Reg-Date : 2008-11-13
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 7:50 pm |
|
|
compatible to all browsers? anyways,thanks fer sherin it here!
|
|
|
|
mikko507
HCG Geek
> : I'm not PERFECT!
Posts : 528
Age : 29
Location : Guiguinto, Bulacan
Mood : Energetic
Country :
Reg-Date : 2008-09-11
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 7:55 pm |
|
|
whoa!..cool! nce job!
|
|
|
|
GummyBearXD
HCG Freak
> :
Posts : 135
Age : 31
Location : Recycle bin :))
Mood : Happy
Country :
Reg-Date : 2008-11-12
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 7:56 pm |
|
|
not working.. already tried everything.. i even tried to use IE and mozilla. *sigh*
|
|
|
|
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 9:36 pm |
|
|
^ then how come It works on my profile? maybe there's something wrong on your code. ^_^ hehe. This is compatible on both IE7 and FF
|
|
|
|
-retired-
HCG Addict
> : adiik sa'u
Posts : 235
Age : 34
Mood : Confused
Country :
Reg-Date : 2008-11-13
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 10:06 pm |
|
|
uhmm.i just want to ask after putting the imagemenu.css wat am i gonna do next? sorry i think that will be a silly question. haha.
|
|
|
|
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 10:28 pm |
|
|
save the HTML file as "nav.html", then upload it on a hosting site, and get the URL of the HTML file. copy the URL and past it in this code : - Code:
-
document.getElementById("navigation").innerHTML="<iframe src=\"URL of the HTML file here\" width=\"550\" height=\"220\" border=\"0\" frameborder=\"0\"></iframe>";
then, lastly, paste it in your JS Extension. :D
|
|
|
|
jam.DiSiNUWEBE
HCG Addict
> : 19 beybeh!
Posts : 268
Location : In his heart...
Reg-Date : 2008-12-09
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Tue Jan 06, 2009 11:57 pm |
|
|
thnks ferr sharin.. ITS NYYC! :]
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 07, 2009 2:40 am |
|
|
i admired your effort and the trick you shared to us..keep up the goodwork buddy^^ btw..please update your preview buddy^^seems its not working and it seems that your images are no longer working bandwith exceeded perhaps ^^
|
|
|
|
dolliedollera
HCG Wizard
> : i need tuToriaL .. i waNt tu leArn mUre
Posts : 56
Age : 31
Location : aT d bOttOm Op d bLakest hOle
Reg-Date : 2009-01-01
Forum Warning :
Contribution :
|
|
|
|
flint0131
HCG Elite
> : NYAAAAAAAAAH!!!
Posts : 1258
Age : 34
Location : http://127.0.0.1/
Mood : Bored
Reg-Date : 2009-01-02
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 07, 2009 12:10 pm |
|
|
|
|
|
|
-retired-
HCG Addict
> : adiik sa'u
Posts : 235
Age : 34
Mood : Confused
Country :
Reg-Date : 2008-11-13
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 07, 2009 8:46 pm |
|
|
gee!thnx flint :) u really did a lot of effort to this.
|
|
|
|
GummyBearXD
HCG Freak
> :
Posts : 135
Age : 31
Location : Recycle bin :))
Mood : Happy
Country :
Reg-Date : 2008-11-12
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 07, 2009 9:11 pm |
|
|
it finally worked.. im using mozilla, then i tried it on IE. whew, but it has a scroll bar with it.. oh well does it work with SET8? or any sets? anyway thanks for sharing this, its really cool. EDIT: Now i understand. the original navigation must be present because it will replace the original navigation.. ayt?
Last edited by GummyBearXD on Wed Jan 07, 2009 9:23 pm; edited 2 times in total (Reason for editing : ...)
|
|
|
|
Sponsored content
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! |
|
|
|
|
|
|
|
[Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! |
|
|