Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2011
    Location
    Chester (UK)
    Posts
    12

    Default Inserting Jscrippt into a placeholder: CSS issue

    Hello all first time poster here, lovin WD wish i'd found it years ago anyway,

    i found this Jscript content gilder on http://www.dynamicdrive.com/dynamici...tentglider.htm

    i'm having issue's trying to implement the CSS file which controls the frame, the content goes in.

    ive tryed to link to the css from a placeholder & copy the contents of the CSS file into the placeholder but with no success for either

    anyone got any suggestions as to how i can get this working

    Many thanks

    Dan G

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    472

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    I'd suggest the following -

    1) Create small placeholder (size is irrelevent), it can even reside off your page as it will have no physical/visual presence.

    2) Give it a name of <head> and put this into it:
    <link rel="stylesheet" type="text/css" href="featuredcontentglider.css" />
    <script type="text/javascript" src="featuredcontentglider.js">

    3) Put the actual .js and .css files in the same location as you export your website.

    Voila!

    * Obviously it's then up to you to create your placeholder for the glider itself. *

    Let me know if this still isn't workig for you.

  3. #3
    Join Date
    Feb 2011
    Location
    Chester (UK)
    Posts
    12

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    thanks for the quick reply fella, i'll let you know how i get on

  4. #4
    Join Date
    Feb 2011
    Location
    Chester (UK)
    Posts
    12

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    soz about the late reply

    that worked a treat
    thanks for your help

    another question for you if you can help

    how do i use ascii character in xara, specifically a copyright symbol, in html you use &copy: in the code but how do i apply this to xara

  5. #5
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    In Web Designer 6 use the Text Tool and where you want the copyright symbol use Alt+Ctrl+C.

    Remember Web Designer is not an HTML editor, it creates HTML only when exported to a web page/site.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  6. #6
    Join Date
    Feb 2011
    Location
    Chester (UK)
    Posts
    12

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    thats wicked dude, i'm still gettin to grips with xara, but its a great program for someone like me who hates any kind of coding

  7. #7
    Join Date
    Aug 2007
    Location
    Maghull UK
    Posts
    6,202

    Default Re: Inserting Jscrippt into a placeholder: CSS issue

    It's true xara isn't a html editor, but it can be an html composer - HTML can be added via placeholders.

    True, for the © symbol it's not necessary - but it's good for adding other symbols via html.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	placeholder.jpg 
Views:	100 
Size:	6.0 KB 
ID:	80143  
    JOHN -XaReg (FB) XaReg (DB - ignore prompt to register)
    Windows 10 [Anniversary] pro Intel Pentium CPU G630 @ 2.70Ghz RAM: 4 GB; 64-bit x64

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •