TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,101
  • Total Topics: 21,345
  • Online today: 1,178
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 926
  • Total: 927
  • @rjen

Slide menu

Started by bigguy, December 18, 2006, 04:39:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bigguy

I wasn't real sure were to post this but seeing as I got it to work (and it should be viewable to guests) I thought I would post it. If you go to my site www.smfhelper.info you should see a side menu that floats with the page. If you hover your mouse over it it will open and give you links to external sites (or where ever you want I guess) I got the code and idea from here:

http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm

But I changed a bit. at that link you will see a lisk of files that this mod has:

    *  menuItems.js
    * mmenu.js
    * demo.htm
    * properties.htm

I took the contents of demo.htm and put it into a script box and uploaded the rest to my forum root. I edited the "menuItems.js" to put the links in I wanted. If this has been posted before sorry. I thought I would let you guys know that I got this runnin on my site. I would like it though if the links opened in a new window, that would be cool. Also it only shows on TP but I would think if you copy and paste the contents of the demo.html into your index.template.php file right below or somewhere inside the body tags it would probably work but I have NOT tested that.


bigguy

Actually from the "demo.htm" file I took out this as it was showing when you turned the block on:

<body>

<p style="height: 1000px">Your body text. Your body text</p>

</body>


This website is proudly hosted on Crocweb Cloud Website Hosting.