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
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.
Re: Inserting Jscrippt into a placeholder: CSS issue
thanks for the quick reply fella, i'll let you know how i get on :)
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 ©: in the code but how do i apply this to xara
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.
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
1 Attachment(s)
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. :)