• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Can you run two separate javascripts?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Can you run two separate javascripts?

This topic is: not resolved

Tagged: image swap, javascript, Simple Hooks

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 2 months ago by Gary Jones.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 26, 2013 at 3:56 pm #22977
    dahlkr
    Member

    I am using javascript to do an image rollover swap.  It worked great until I added a second spot with Java as well.

    The first thing is placed using simple hooks after the header; java scripting added to Genesis  header script.

    Then created images that change on hoover in the footer; added the java scripting to Genesis footer script.   Now only the footer images change on hover/rollover and the header images don't change.

    Is there a way to fix this?

    demo site at: http://dental.designedimprovement.com

     

    Thanks..

    March 4, 2013 at 5:37 pm #24184
    Gary Jones
    Member

    This appears to be solved?


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble