Fork me on GitHub

AT wvdynamic  Bottom

  • 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?
  • 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
  • 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:

    Code

    <body onload = "newsMenuInit();P7_LH();">
    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.

    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
  • Have another question regarding this theme.

    Within the theme, I see what appears to be a block section as follows:

    Code

    <!--*****Begin Module Output*****-->
                        <!-- [modules] -->
                        <!--*****end Module Output*****-->


    Can someone explain how this works? How do you show/detemine/place the module output there?

This list is based on users active over the last 60 minutes.