Dear Dr. Website:
Can you please advise which way you consider to be the most efficient to take a screen shot of a website to use as a gif or jpeg? Thanks for your great service.
Answer:
Of course this would depend on which operating system you use, but sometimes simple is best. I use Windows, so I just hit the Print Screen key on my keyboard, then paste it into a graphics program such as Paintbrush. Even Paintbrush will allow you to save the file as a GIF or JPEG, so you can crop as you wish, save, and you're done!
Thanks
--Dr.Website
Question:
Dear Dr. Website:
hi dr web, i'm currently building my own site and for various reasons i wish to include a button which does the same as the browsers back button, but i cannot remember the code needed for this "return" or "back" href link which will return you to the previous page.
I'd appreciate an answer to this
Answer:
You would use the JavaScript "history" function, like this:
<A HREF="javascript:history.go(-1)">move back</A>
Thanks
--Dr.Website
Question:
Dear Dr. Website:
Lately I have been coming across sites that automatically add themselves to my favorites list, or even make themselves my start up page. This is annoying me greatly, so I would like to know how they do that, and more importantly how I can stop them.
Answer:
Here's how they do it. They put the following in the head of their HTML file:
To stop them from working, you'll have to disable JavaScript on your
browser, something I wouldn't recommend, as it is appropriately on many,
many sites.
Thanks
--Dr.Website
Question:
Dear Dr. Website:
I got the idea that if Error 404 is found then redirection is done by
editing .htaccess file but i think it just for linux/unix webserver.
Can u suggest what file should be use Windows NT like .htaccess file.
Thanks,
Answer:
If you're running the IIS Web server on NT, you'll go to Internet Services admin, then select your web site (domain) from the list. Right click on the domain, then select Properties, then go to the the "Errors" tab. You'll be able to select the 404 error file, and edit it to point to a URL or a specific file on your server--your custom 404 file. Thanks,
--Dr.Website