Webvida recenlty released a new theme called wvdynamic created with AutoTheme, that in my opinion is a very nice theme, and that I'm looking into modifying slightly to fit my needs.
This is more of a javascript question, but I'm at a complete loss as to how to do it. The theme uses a slide-in menu script from dynamic drive. And what I'd like to do is to add in a second, or even a third slide-in menu to the theme. I've actually been trying to learn this on my own and have been all over the dynamic drive message boards, but keep getting is all wrong. I believe it has something to do with onload function conflicts, but i'm lost with javascript.
Can one help?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- alfonsomarin created topic »Fillters in Clip« 03:41 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
AT wvdynamic
-
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Hi there,
I am not sure if this will be possible, but the thing to do is move any functions associated with onload to the body tag in theme and themeIndex. You will see how this done by looking at the theme. comment out the original onload call.
Kindest regards
Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 90
Thats kindof what I figured, yet I'm at a complete loss as to how to accomplish it. I've been trying to sit down and learn javascript a little bit, yet can't seem to get the time to actually sit down and read up on it. I've been doing more of a trial and error learning so far.
All I see for an onload command is this:But I have absolutely no idea whath the newsMenuInit is referring to. I've been trying to follow through the code, yet keep getting lost.Code
<body onload = "newsMenuInit();P7_LH();">
My quick and dirty thought is that I would think you could rename the javacripts to new files, and then call both scripts into the page. Well, I quickly learned that didn't work. Heading back to continue testing and learning.
If anyone has any ideas, I welcome them.
Thanks
Switch -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 90
Have another question regarding this theme.
Within the theme, I see what appears to be a block section as follows:
Code
Can someone explain how this works? How do you show/detemine/place the module output there?
- Moderated by:
- Support
