View Full Version : Looking for a script
ainarsgc
12-22-2007, 02:36 PM
Looking for a script like on this website:
http://www.istockphoto.com
When clicking in search form, additional search form appears.
Thank you.
If you know anything about CSS and javascript you could try to code it, and it shouldn't be too hard.
<script type="text/javascript">
function Show_more(){
document.getElementById("more").style.display = "block";
}
</script>
<form>
<input type="text" onfocus="Show_more()">
<div id="more" style="display:none">MORE</div>
</form>
There is a start for you. (I haven't tested it. . . )
You can also check out this tutorial (http://www.zimmertech.com/tutorials/javascript/22/interactive-hidden-forms-tutorial.php).
Can I see your search? A link to it?
ainarsgc
12-23-2007, 02:44 PM
Jas, thank you very much. That's what i wanted. It works. Thank you.
shriniwas
12-29-2007, 01:38 PM
Hi,
need some help again...................;)
I want a code that will allow only the selected ppl to access the page....
One way that i thought of :
As we can block some IP from viewing the page in such fashion can we do :
Allow only certain IP to access the page. :)
Its Foolish to ask that 'is it possible' as there are gr8 and dam inelligent coders....
Thanks in advance...:)
I also wanted to have advice that "Is this method devisible ????"
Thanks.
BLiZZaRD
12-29-2007, 06:13 PM
.htaccess:
order deny,allow
deny from 192.22.33.44
deny from badwebsite.com
OR
order deny,allow
deny from 22.658.168.01
allow from 192.22.33.44
You can use IP addies, or domain names, or both, you can select certain files, or the whole directory that .htaccess is placed in.
For a specific file:
<files image.gif>
order deny,allow
deny from 192.22.33.44
</files>
you can learn more [utl=http://tips-scripts.com]here[/url] under the .HTACCESS section :)
shriniwas
12-30-2007, 01:42 AM
i got ur point but what i want is a global command to block all other ppl other than i have allowed
ex :
order deny,allow
deny from Every body else than allowed once
allow from 192.22.33.44
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.