Hi all

I am just starting out with setting my site up. I have spent quite a lot of time tinkering in the past so have a halfway decent idea of HTML and a small smattering of experience with javascript.

I would like to do a small 4 or 5 page site and would like to make it as easy to navigate as possible and I have been toying with the idea of just having one page and then using layers for the different content and a small show/hide script to turn them on and off to create an effect of viewing pages but with no load times (after the initial page load). Does that make sense or have I overlooked something? I guess AJAX could also give me a similar appearance but I have only basic js experience and never touch AJAX so is it worth the effort?

I also noticed someone mention on here that a top layer of a transparant gif is a good way to prevent people copying your images? would this also work to protect text? (I know they could view source but each step you add to make it harder will deter a proportion of the possible copies) Are there any other better/easier ways of achieving some level of protection of the text and graphics I use (not that anyone is likely to want to copy them anyway :$ )

Thanks in advance

as one page it will be a time consuming download, users click away
small pages load fast,
preloading the next page to give speed can be accomplished by a script in the foot of the page
reuse of icons and scripts between pages shortens load times again.

Hi almostbob

Thanks for that ... I guess that makes sense ... so to clarify, if I use the same logo and background files etc then these will not be reloaded by the browser??

Cheers

Sam

Once you have downloaded the image, all pages can use the same copy without downloading it again. The only times it would be downloaded again are if the user refreshes the page, or if another page used so much Internet cache that the imaged had to be discarded. I use that trick in my pages.

If you are so paranoid and possessive that you put special features in to protect your intellectual property, I suggest that you don't publish it all. What does it hurt you if someone saves a copy. They can save the entire page, and have a folder full of parts.

LOL on the paranoia thing ... my feelings exactly ... I just had a request for that 'feature' from one of my friends who is after a site soon and is uber worried about stuff like that. Just interesting to know what options there are imho.

Thanks for the confirmation on the images stuff, I hadn't realised that, should make page load times less concerning to me. I guess the best thing I could do is stop talking about it and doing a test site to see what happens :p

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.