After a bit of research it looks like my stab in the dark was a lucky one :-)
Try using the second version of the opening script tag and keep everything in lower case
After a bit of research it looks like my stab in the dark was a lucky one :-)
Try using the second version of the opening script tag and keep everything in lower case
Tutorials: The Basics of Web Design - Tips and Tricks - Creating a Nav Bar - Video Tutorials - Stretchy Buttons - Manual Nav Bars
There should not be any problems using placeholders for this Linda.
You can place your script snippets precisely where they need to be using placeholders correctly.
Please see attached zip which contains a XWD .web file showing how I have done this, plus the exported html results which displays in all browsers here.
Last edited by steve.ledger; 25 September 2009 at 09:12 PM. Reason: re upload zip
I'll certainly give that Javascript tweak a go and I'll try it with a placeholder - didn't realise you could do that. It will certainly save time when I make amendments to the pages.
A very warm thanks to you guys
Linda
Don't forget the script to go in the <head> placeholder must be named <head> using the object name function ('yellow tag' icon on toolbar).
Note: I've just re uploaded the .zip as I neglected to remove a hidden layer from my default document. This layer is not relevant to the example for your script.
Last edited by steve.ledger; 25 September 2009 at 09:13 PM.
Thanks!
I'll let you know how it goes :-)
Linda
Well, it looks like the problem was 2-dimensional. I carried out Sledger and Drwyd's suggestions (thanks guys - WD is even more elegant than I realised). All was well for a minute, then got the blank page again. This time the blank went on long enough for me to check test.htm and my other site on the server - all blank. So a message has gone to the hosting service.
Btw, nothing came up when I carried out a search on WD Help for "placeholder head". It's simple when you know how, but maybe a little "advanced" button in the placeholder menu might be a good idea for the next upgrade??
Thanks again for the help
Linda
I believe
<script src="dated_cookie.js"></script>
should be
<script type="text/javascript" src="dated_cookie.js"></script>
in orderpage.htm
Tutorials: The Basics of Web Design - Tips and Tricks - Creating a Nav Bar - Video Tutorials - Stretchy Buttons - Manual Nav Bars
Or perhaps even:
<script language = "JavaScript" src="dated_cookie.js"></script>
As is used here
I'm not 100% sure but wasn't the "language" element deprecated in XHTML ?
Tutorials: The Basics of Web Design - Tips and Tricks - Creating a Nav Bar - Video Tutorials - Stretchy Buttons - Manual Nav Bars
The only correct version for the type Xtreme exports is this, literally:
And no upper case!<script type="text/javascript" src="dated_cookie.js"></script>
John.
Bookmarks