Welcome to TalkGraphics.com
Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
  1. #21

    Default Re: Can anyone tell me whats wrong here??

    Quote Originally Posted by richinri View Post
    I don't believe you can change the background behavior the way you described - it comes too late in the code.
    Perhaps it would be wiser that you first try Bill's suggestion before making that statement??

    In fact, it works perfectly in WD preview, Firefox and IE8.
    Attached Files Attached Files
    Last edited by steve.ledger; 04 April 2009 at 12:45 PM. Reason: correct error in .web file

  2. #22
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Thumbs up Re: Can anyone tell me whats wrong here??

    Yes, it also works in IE7, Safari, Chrome and Opera.
    Although, to pass W3C validation it has to be:
    Code:
    <style type="text/css">body {background-attachment:fixed;}</style>
    And added to the head. But othervise it's perfectly working solution.
    I have added it in the new version of the tweaks gallery.
    John.

  3. #23
    Join Date
    Aug 2000
    Location
    Prince Edward Island, Canada --- The land of lawn tractors
    Posts
    5,389

    Default Re: Can anyone tell me whats wrong here??

    I opened Sledgers example file and it previewed as expected. I then added other elements to the file. The revised version is attached. When I preview the revised version, the new objects I added don't appear. Why?

    A new object was set to repell text and that works but the object itself isn't appearing in the preview. Very wierd! I hope someone can identify what I might have done wrong or what I need to do for all objects to appear properly.

    Regards, Ross
    Attached Files Attached Files

  4. #24
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Can anyone tell me whats wrong here??

    Quote Originally Posted by Ross Macintosh View Post
    I opened Sledgers example file and it previewed as expected. I then added other elements to the file. The revised version is attached. When I preview the revised version, the new objects I added don't appear. Why?
    You made mistake in the placeholder code. Instead of "//->" you had to type "//-->".
    John.

  5. #25
    Join Date
    Aug 2000
    Location
    Prince Edward Island, Canada --- The land of lawn tractors
    Posts
    5,389

    Default Re: Can anyone tell me whats wrong here??

    Thanks John -- that did fix it. It actually wasn't my placeholder text but Steve's (Sledger's) from his posting above. If you open his .web attachment, his file appears to preview correctly as intended. It seems his error in the placeholder only makes itself apparent when other objects are added.

    Regards, Ross

  6. #26

    Default Re: Can anyone tell me whats wrong here??

    Thanks Ross, I missed the typo because it all worked fine for me when I tested it. I originally had more objects but removed most of them before uploading the .web file.

    I have now replaced it with the better validation code John supplied.

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

    Default Re: Can anyone tell me whats wrong here??

    John thanks for the corrected placeholder text so that W3C validation works.

    A simple example can be viewed at http://btaylor.50megs.com/noscroll/

    The index.htm page is without the placeholder so you can see the page background scrolls with the text area.

    Click the green button to see the second page that uses the placeholder as corrected by John (Covoxer). Scroll the page and the background remains fixed but the text area scrolls.

    The .web file is attached.
    Attached Files Attached Files
    Last edited by Soquili; 04 April 2009 at 01:15 PM.
    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

 

 

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
  •