Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:54 PM
J. Christopher Miller
Guest
 
Posts: n/a
Default Linking to Other Websites

Hi,

I'm working with the following code and would like to know how I can send
forms into to one website (with the "Submit" button) while sending the
user
to a different website when he clicks on a link taking him to a
directory.



<td rowspan="2"><a href="#"


onclick="MM_openBrWindow('http://newwebsite.com','','scrollbars=yes,resizabl
e=yes,width=600,height=500')"><img

src="shp2_29.gif" width="70" height="22" border="0"></a></td>

<td rowspan="2"><img src="shp2_30.gif" width="5"

height="22"></td>

Thanks,

J. Christopher







  #2  
Old July 20th, 2005, 06:54 PM
Steve Pugh
Guest
 
Posts: n/a
Default Re: Linking to Other Websites

"J. Christopher Miller" <the2nd3rd@earthlink.net> wrote:
[color=blue]
> I'm working with the following code and would like to know how I can send
> forms into to one website (with the "Submit" button)[/color]

There is no form, and no submit button in the code you included.

To submit a form to a different server just include the full address
in the action attribute of the form element.
e.g. <form action="http://www.server.example/">
[color=blue]
>while sending theuser to a different website when he clicks on a link
>taking him to a directory.[/color]

That's just an ordinary link.
<a href="http://www.server.example/">link text</a>

I guess that you haven't told us what your real problem is. Care to
elaborate? And a URL never hurts and often helps.
[color=blue]
> <td rowspan="2"><a href="#"
>onclick="MM_openBrWindow('http://newwebsite.com','','scrollbars=yes,resizabl
> e=yes,width=600,height=500')"><img
> src="shp2_29.gif" width="70" height="22" border="0"></a></td>
> <td rowspan="2"><img src="shp2_30.gif" width="5"
> height="22"></td>[/color]

This is code to open a popup window. It doesn't work unless the user
has JavaScript enabled, and might not work then if they user has set
their browser to disallow popup windows. What's more the images are
missing the required alt attribute.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>
 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles