Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Background autosize

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people,

I saw something very interesting and I want to do it to but don�t know how cause my DHTML/CSS skills are not, errrm, sharp.

Please look at this image :
Background-link

This is a background image that is used here:
Used here-link


But somehow they managed to autosize this backgorund so it shows all the boarders, do you guys have any clues on how to do that ?

Thanks in advance.

Best Regards,
[ January 29, 2008: Message edited by: Bruno Taranta Arruda ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you view the page source, you should be able to see how they do it.

Eric
 
Bruno Taranta Arruda
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure, but the problem is that they do a lot of AJAX(modifying the source) calls and a lot of inherited scripts, kindly hard to do it, I�ve already tried it.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well there is a thing called Firebug or the Web Developer Toolbar that lets you inspect the html document.

You can also type the following into the address bar:

javascript:document.write(document.body.innerHTML);

and view the source.

You can try to be a little more fancy and do:

javascript:document.write("<pre>" + document.body.innerHTML.replace(/>/gi,">").replace(/</gi,"<") + "</pre>";


Eric
[ January 29, 2008: Message edited by: Eric Pascarello ]
reply
    Bookmark Topic Watch Topic
  • New Topic