PDA

View Full Version : Change drawer icon to fire script for SIDE PUSH MENU



Stevenj
05-27-2015, 01:39 PM
Thank you or the Side Push Menu script. I installed it rather easily and it works great. I have two questions that I need help on.

1st. is you have to add
<a id="drawer" class="animateddrawer toggleitem" href="#" onClick="menu1.toggle(); return false">
<span></span>
</a> on to the page where you want the animated blue drawer button to appear to launch the script. I want to use my own image to launch the script. How do I get this done?

2nd. question is the instructions say to add this code <div id="contentwrapper"> in red. How do I get it in red?

Thank you. Steve

Beverleyh
05-27-2015, 02:03 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

A quick search of the forum brings up this thread that should help you with your first question: http://www.dynamicdrive.com/forums/showthread.php?76908-Custom-image-for-Toggle-Menu-event-in-Side-Push-Menu


How do I get it in red????? You just need to add the code in red into your own markup. It's a wrapper div for your content so that it moves over when the side menu is activated.

If you need more help, please provide a link to your page.

Stevenj
05-27-2015, 02:55 PM
The link is.http://www.madwebdesigners.com/fbc/index.htm I do not know how to make the text appear in "red" when I enter the code id dreamweaver.

Beverleyh
05-27-2015, 03:38 PM
You just need to add the code (that just so happens to be red in the instructions) into your own markup. You don't actually need to make it red. It is only highlighted in red text in the demo page so that it easily stands out in the instructions. There is no requirement to put red text in your actual web page.