04-23-2010, 11:20 PM
Altering My Navigation Bar
|
04-24-2010, 02:20 AM
If something fades in or does pop up you usually need javascript.
You can check a nice fading effect I made using jQuery (javascript library) at Zaiendo.de at the main navigation bar. Kind regards Lennart Sauter Forum Admin
04-24-2010, 03:03 AM
Hmm, I have no idea how to use javascript - is it hard to learn?
04-25-2010, 12:33 AM
Not harder then any other language...
I think there are plenty of tutorials for JS-menus in the web so you might find what you are looking for very fast. Forum Admin
04-25-2010, 04:49 AM
Cheers I will have a look.
Also, if I wanted to change the new reply button or other similar buttons in a thread when the mouse hovered over it, would you know what template I needed to edit and what code?
Today, 00:00
Register (for free) to hide the ads.
04-26-2010, 12:20 AM
04-26-2010, 12:24 AM
The javascript code should be placed inside the "headerinclude" template
If you need to alter the HTML of your buttons you should find them, depending on your theme, in the "header" template. Forum Admin
04-26-2010, 02:48 AM
Ok, so I found my headerinclude template, and thought I would do a test by seeing if I can change the send an email button to report button when hovering over.
So I put in this code: You are not allowed to see php code. Does that look about right? But it's still not working.......you mentioned about altering the HTML of the buttons in my header template. Looked in my header which contains: You are not allowed to see php code. Nothing to do with buttons that I can see What should I be doing next? Oh and once this is figured out, I will write a tutorial on it, as I am sure others would like know how to do this.......
04-26-2010, 03:34 AM
Watch our for <navigation>.
I have to confirm that I am not the best when it comes to Javascript but the script above looks kinda freaky, no idea what it shall do. Kind regards Lennart Sauter Forum Admin
Today, 00:00
Need professional support? PRinguin, the Digital-Agency. For web design and online marketing.
Register (for free) to hide the ads.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)