Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old July 10th, 2003, 06:31 PM
cabledude cabledude is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 cabledude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to cabledude Send a message via AIM to cabledude Send a message via Yahoo to cabledude
Unhappy creating a pop up window on a search engine

Hi,

I'm trying to create a pop up window when you do a google search from my web site, here is the code I got from google to create the search engine:

<HTML>
<HEAD>
<TITLE> </TITLE>
<body>
<!-- Search Google -->
<left>
<FORM method=GET action="http://www.google.com/search">
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="http://www.google.com/logos/Logo_40wht.gif"
border="0" ALT="Google" align="absmiddle"></A>
<INPUT TYPE=text name=q size=20 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Google Search">
</td></tr></TABLE>
</FORM>
</left>
<!-- Search Google -->

Do I need to create a Javascript function to enable a small pop up search window instead of it just fowarding the entire page to google like this:

<script language="javascript">
function google ()
{
window.open("http://www.google.com/search ,"width=600,height=600,screenx=10,screeny=10,toolbar=0,menubar=0,personalbar=0,location=0,scrollbars=1 ,resizable=1");
}
</script>

Is this right, its not working for me???

Thanks

Reply With Quote
  #2  
Old July 10th, 2003, 07:06 PM
cabledude cabledude is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 10 cabledude User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to cabledude Send a message via AIM to cabledude Send a message via Yahoo to cabledude
Lightbulb ??What about This??

I found this on one of google's sites that had a PopUp like the one I'm looking for. will this work??




<script language="javascript">
<!--
var Google Search = 0;

function Google Search ()
{
preview_Google Search =
window.open("","Google Search ","width=650,height=500")
document.sdata.target="Google Search "
document.sdata.action="/cobrand/Google Search "
document.sdata.submit()
}

function register()
{
document.sdata.target="_top"
document.sdata.action="/cobrand/free_register"
document.sdata.submit()
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > creating a pop up window on a search engine


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway