|
[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 |
|
|
First topic message reminder : - 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
|
|
|
|
lhaedybratz
HCG Elite
> : be nice en friendly. ;)
Posts : 1910
Age : 33
Location : someday will know.. =^.~
Mood : Blah
Country :
Reg-Date : 2008-11-07
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 07, 2009 9:45 pm |
|
|
lab it.. ^^.. nice pow.. kaya lan.. pawang hirap gawin.. ahihi tnx for sharing..
|
|
|
|
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 10:53 pm |
|
|
- GummyBearXD wrote:
- 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? [ UPDATED ] Oh, sorry. I forgot IE users. Hehe. I already Updated the codes, No more scrollbars on IE now. :D I've seen your profile, It's so cool. @lhaedybratz : It's easy lng po. Just paste this code on your JS Extension, - Code:
-
document.getElementById("navigation").innerHTML="<iframe src=\"http://h1.badwaresite.www/murdermydolly/KewlNavi.html\" width=\"550\" height=\"220\" border=\"0\" frameborder=\"0\" scrolling=\"no\"></iframe>";
make sure you didn't remove #navigation Id on your CSS Extension.
|
|
|
|
wenaphot
Guest
> : I love HCG!
Posts : 7
Reg-Date : 2009-01-05
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Thu Jan 08, 2009 4:39 pm |
|
|
i really love to try this. but i dont know how to use js. :( do you have ready to paste code of this.? THANKS.
|
|
|
|
ivan1234567890
HCG Freak
> : Waiting for Twix =)
Posts : 105
Age : 28
Location : Philippines
Mood : Crazy
Country :
Reg-Date : 2008-12-10
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!! Fri Jan 09, 2009 2:58 am |
|
|
[ UPDATED ] Added ready-to-paste code. You can still reposition it using the CSS code I posted. Ya'll have a nice day. :D
|
|
|
|
romar
HCG Wizard
> : hates career prep.
Posts : 77
Age : 31
Location : wisconsin,..
Country :
Reg-Date : 2008-10-20
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Fri Jan 09, 2009 4:27 am |
|
|
dude.. where will that code appear?... im curious bcause im using "main data only" set... ;]
|
|
|
|
xoxotam
HCG Addict
> : so buzy.. :D
Posts : 280
Mood : Amused
Country :
Reg-Date : 2008-10-10
Forum Warning :
Contribution :
|
|
|
|
wenaphot
Guest
> : I love HCG!
Posts : 7
Reg-Date : 2009-01-05
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Fri Jan 09, 2009 6:41 pm |
|
|
|
|
|
|
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!! Fri Jan 09, 2009 6:58 pm |
|
|
^ thnx. :D - romar wrote:
- dude.. where will that code appear?...
im curious bcause im using "main data only" set... ;] make sure you didn't hide #navigation ID on your CSS code. coz the code will appear on your navigation area.
|
|
|
|
Pawem
Promoter
> : i miss this :)
Posts : 3903
Age : 30
Location : Britannia
Mood : Energetic
Country :
Reg-Date : 2008-09-19
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Fri Jan 09, 2009 7:17 pm |
|
|
hmm. question. how can we use it in SET 7? dude. :D
|
|
|
|
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!! Sun Jan 11, 2009 1:41 pm |
|
|
^Just make sure the set you're using didn't remove the #navigation. :D
|
|
|
|
Pawem
Promoter
> : i miss this :)
Posts : 3903
Age : 30
Location : Britannia
Mood : Energetic
Country :
Reg-Date : 2008-09-19
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Sun Jan 11, 2009 1:46 pm |
|
|
that is the only solution for it?
|
|
|
|
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!! Sun Jan 11, 2009 2:00 pm |
|
|
^Yes. View the .css extension of the set that you are using, and make sure you remove the #navigation ID.
|
|
|
|
Pawem
Promoter
> : i miss this :)
Posts : 3903
Age : 30
Location : Britannia
Mood : Energetic
Country :
Reg-Date : 2008-09-19
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Sun Jan 11, 2009 2:33 pm |
|
|
^yup i know. i just want to put it inside my media but its not possible tnx for sharing nlng. :)
|
|
|
|
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!! Mon Jan 12, 2009 2:42 am |
|
|
ahw. Ohw~ So you mean you want to put it inside your media box? Yeah. It's possible. Use this one : - Code:
-
document.write('<iframe src=\"http://h1.badwaresite.www/murdermydolly/kewl_nav/index.html\" width=\"550\" height=\"220\" border=\"0\" frameborder=\"0\"></iframe>');
But i think it's filtered? Idk, just try it. ^_^
|
|
|
|
BeaBlanca123
Promoter
> : haha!
Posts : 566
Age : 34
Location : Laguna ..
Mood : Energetic
Country :
Reg-Date : 2008-12-08
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Mon Jan 12, 2009 5:30 am |
|
|
Nice job ! Keep up the good work !
|
|
|
|
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 14, 2009 3:54 pm |
|
|
dude, can I use GIF in this trick? (i mean, the moving ones)
|
|
|
|
Pawem
Promoter
> : i miss this :)
Posts : 3903
Age : 30
Location : Britannia
Mood : Energetic
Country :
Reg-Date : 2008-09-19
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Wed Jan 14, 2009 8:13 pm |
|
|
|
|
|
|
nite2x
Guest
> : I love HCG!
Posts : 2
Country :
Reg-Date : 2009-01-01
Forum Warning :
Contribution :
|
Subject: pano po gagawin sa js??????/ Sat Jan 17, 2009 6:59 pm |
|
|
pano po gagawin sa js??????
|
|
|
|
nite2x
Guest
> : I love HCG!
Posts : 2
Country :
Reg-Date : 2009-01-01
Forum Warning :
Contribution :
|
Subject: pagkataposgawin ng imagemenu.css ano na po gagawin???? Sat Jan 17, 2009 7:21 pm |
|
|
pagkataposgawin ng imagemenu.css ano na po gagawin????
|
|
|
|
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!! Sun Jan 18, 2009 2:37 am |
|
|
^paste the link of your imageMenu.css in your Navi.html
|
|
|
|
happy3friends
Guest
> : I love HCG!
Posts : 1
Reg-Date : 2008-12-09
Forum Warning :
Contribution :
|
Subject: not working!! Sun Jan 18, 2009 11:50 am |
|
|
♫ hi!! ♫ mootools is not working!! ♫ haiz!! ♫ happy3friends_12@yahoo.com ♫ e mail qoh yan!!tingnan nyo powh!!
|
|
|
|
stef018
HCG Freak
> : hmmmMm..
Posts : 173
Age : 29
Location : idontknow to be exact.
Mood : Dorky
Reg-Date : 2009-01-08
Forum Warning :
Contribution :
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! Sun Jan 18, 2009 2:23 pm |
|
|
|
|
|
|
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!! Sun Jan 18, 2009 7:26 pm |
|
|
DON'T USE THIS YET.. I'm going to update this one. I'm going to fix it. Have a nice day.
|
|
|
|
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!! Sun Jan 18, 2009 9:19 pm |
|
|
|
|
|
|
Sponsored content
|
Subject: Re: [Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! |
|
|
|
|
|
|
|
[Mootools] Replace your Navigation w/ a Kewl One. [ UPDATED ] Hottest!! |
|
|