Jump to content


Photo
- - - - -

Content Box


  • Please log in to reply
12 replies to this topic

#1 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 29 July 2012 - 08:48 PM

Hi I have a question regarding Content Box is it possible to insert javascript? my javascript is on root, but have problem with loading of script

#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 29 July 2012 - 10:45 PM

I'm unclear what your javascript is or what it does. I don't even know if WP supports javascript inside a post or page content area. If it does, you'd have to apply it in HTML mode, not Visual. I do apply Javascript inside one of my pages, but the script itself is called from the header via Dashboard > PageLines > Site Options > Custom CSS > Header Scripts with the call placed in the page.

#3 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 05:56 AM

this is the script, i know it works in Header but wants it under "nav"

If you do not see content of CU3ER slider here try to enable JavaScript and reload the page

  • D!3

    It's Awesome!

  • Please Login or Register to see this Hidden Content

  • MayK

    Customizable.



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 15194 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 30 July 2012 - 12:44 PM

There documentation has this:

Please Login or Register to see this Hidden Content

So I am not sure why you're trying to add all the above. I recommend you contact their support for assistance.

Please Login or Register to see this Hidden Content



#5 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 12:56 PM

my question: is it possible to insert javascript in Content Box??

#6 catrina

catrina

    Advocate

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

Posted 30 July 2012 - 02:52 PM

You can insert Javascript (with the

#7 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 03:28 PM

I want the script to look the way it looks in the picture inside Content Box
Posted Image

script displayed above

#8 catrina

catrina

    Advocate

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

Posted 30 July 2012 - 03:45 PM

What is the script code and where did you find it?

#9 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 04:53 PM

Please Login or Register to see this Hidden Content


CU3ER.swf
Configuration XML file

Please Login or Register to see this Hidden Content


"js" folder

Please Login or Register to see this Hidden Content


"CSS" folder

Please Login or Register to see this Hidden Content


"images" folder

Please Login or Register to see this Hidden Content


"fonts" folder

Please Login or Register to see this Hidden Content



Please Login or Register to see this Hidden Content



#10 catrina

catrina

    Advocate

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

Posted 30 July 2012 - 05:38 PM

I think this portion of the script belongs to the headerscripts section your Custom Code settings:

Please Login or Register to see this Hidden Content


I think the script below it is the script that would belong inside the content box.

#11 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 05:59 PM

ok need to test a bit and see what works

#12 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 30 July 2012 - 06:56 PM

Please note that you may need to add some of the code to Dashboard > PageLines > Site Options > Header Scripts. Also, you may need full paths or URLs for things like images (since WP doesn't use /images but /wp-content/uploads/...) and the javascript files. Did you make sure every component is uploaded to its proper place? Such as "js/jquery.js"?

#13 urban

urban

    Advanced Member

  • Members
  • 42 posts

Posted 30 July 2012 - 08:45 PM

thank you so much you made my day much better :) :) :) i uploaded all files to /wp-content/plugins/pagelines-sections/contentbox and entered the script in Content Box by pages