Jump to content


Photo
- - - - -
Resolved

Where to insert code?

javascript

  • Please log in to reply
10 replies to this topic

#1 theTimHunter

theTimHunter

    Advanced Member

  • Members
  • 53 posts
  • LocationEarth-ish
  • Framework Version:Developer
  • Country: Country Flag

Posted 08 October 2012 - 02:39 PM

Hello all,

I am working on a site and I currently have some transitions set using CSS. Obviously these don't work in IE b/c it is the spawn of satan. In any event, I wanted to use some javascript for the fade-in/out on the images. Where do I put that in pagelines? The images are located in the home page content area...

ellelothlorien.com

Thanks,
Tim

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 08 October 2012 - 04:07 PM

Can you please provide a link to where the Javascript code came from?

#3 theTimHunter

theTimHunter

    Advanced Member

  • Members
  • 53 posts
  • LocationEarth-ish
  • Framework Version:Developer
  • Country: Country Flag

Posted 08 October 2012 - 04:08 PM

Hey Catrina,

i don't have it yet, i was going to get something online. i really could use some help though, because I am a total newb when it comes to javascript. thanks.

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 08 October 2012 - 05:08 PM

I can't say where the Javascript should be placed if I don't know the instructions for that specific code. Usually, Javascript needs to be implemented by uploading certain files or editing existing code. Does this code require that you add it to any specific place within the code?

#5 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 08 October 2012 - 05:18 PM

You can add your custom javascript to the headerscripts area

Please Login or Register to see this Hidden Content



#6 theTimHunter

theTimHunter

    Advanced Member

  • Members
  • 53 posts
  • LocationEarth-ish
  • Framework Version:Developer
  • Country: Country Flag

Posted 08 October 2012 - 05:52 PM

You can add your custom javascript to the headerscripts area

Please Login or Register to see this Hidden Content



wow. how did i not see that. thank you Simon.

#7 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 08 October 2012 - 06:03 PM

The topic was marked as resolved.

#8 theTimHunter

theTimHunter

    Advanced Member

  • Members
  • 53 posts
  • LocationEarth-ish
  • Framework Version:Developer
  • Country: Country Flag

Posted 08 October 2012 - 06:12 PM

I can't say where the Javascript should be placed if I don't know the instructions for that specific code. Usually, Javascript needs to be implemented by uploading certain files or editing existing code. Does this code require that you add it to any specific place within the code?


I'm looking to incorporate a mouse over hover javascript. It should be a real train wreck...thinking of starting with this code:

Please Login or Register to see this Hidden Content



Thanks
Tim

#9 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 08 October 2012 - 06:15 PM

Every PageLines Framework page has jQuery loaded by default, most of the sections require it to some degree, so your better off looking for some jQuery code.

#10 theTimHunter

theTimHunter

    Advanced Member

  • Members
  • 53 posts
  • LocationEarth-ish
  • Framework Version:Developer
  • Country: Country Flag

Posted 08 October 2012 - 06:19 PM

Every PageLines Framework page has jQuery loaded by default, most of the sections require it to some degree, so your better off looking for some jQuery code.


Thanks Simon. I will search for that. Thanks for all your guidance, I appreciate it.

#11 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 08 October 2012 - 07:19 PM

Do you need further assistance with anything else?





Also tagged with one or more of these keywords: Resolved, javascript