Welcome to TalkGraphics.com
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Website rendering as a blank page

    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

  2. #22

    Default Re: Website rendering as a blank page

    Quote Originally Posted by angelfire4xx View Post
    Using Placeholder is no good as the script is in three parts: one for the head section, one to go at the start of body and the third in the place required in the text.
    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.
    Attached Files Attached Files
    Last edited by steve.ledger; 25 September 2009 at 08:12 PM. Reason: re upload zip

  3. #23
    Join Date
    Sep 2009
    Location
    UK
    Posts
    17

    Default Re: Website rendering as a blank page

    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

  4. #24

    Default Re: Website rendering as a blank page

    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 08:13 PM.

  5. #25
    Join Date
    Sep 2009
    Location
    UK
    Posts
    17

    Default Re: Website rendering as a blank page

    Thanks!
    I'll let you know how it goes :-)
    Linda

  6. #26
    Join Date
    Sep 2009
    Location
    UK
    Posts
    17

    Default Re: Website rendering as a blank page

    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

  7. #27
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Website rendering as a blank page

    I believe
    <script src="dated_cookie.js"></script>
    should be
    <script type="text/javascript" src="dated_cookie.js"></script>
    in orderpage.htm

  8. #28

    Default Re: Website rendering as a blank page

    Or perhaps even:

    <script language = "JavaScript" src="dated_cookie.js"></script>

    As is used here

  9. #29
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,044

    Default Re: Website rendering as a blank page

    I'm not 100% sure but wasn't the "language" element deprecated in XHTML ?

  10. #30
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Website rendering as a blank page

    The only correct version for the type Xtreme exports is this, literally:
    <script type="text/javascript" src="dated_cookie.js"></script>
    And no upper case!
    John.

 

 

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
  •