Buttons don't work!!!!

S

skc

A client is trying to access a web site I created in
FP2000, but the form buttons does not launch a Javascript
pop-up Window when searching for a car.

He can launch a pop-up from the home page of
www.maslenmotors.com (see top left), but he cannot launch
a pop-up when you go to Showroom - search for a car then
click the options for each car such as View Image. Also,
the rotating banner "Click for finance offer" when clicked
on does nothing!

This is really bugging me now. The showroom pages
are .asp using FP's DRW on a Access 2000 Database and the
home page is a standard .htm page.

Can someone help me get this sorted please.

skc
 
T

Tom Pepper Willett

Please stick to your original thread.
--
-----
Tom Pepper Willett
Microsoft MVP - FrontPage
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
----
| A client is trying to access a web site I created in
| FP2000, but the form buttons does not launch a Javascript
| pop-up Window when searching for a car.
|
| He can launch a pop-up from the home page of
| www.maslenmotors.com (see top left), but he cannot launch
| a pop-up when you go to Showroom - search for a car then
| click the options for each car such as View Image. Also,
| the rotating banner "Click for finance offer" when clicked
| on does nothing!
|
| This is really bugging me now. The showroom pages
| are .asp using FP's DRW on a Access 2000 Database and the
| home page is a standard .htm page.
|
| Can someone help me get this sorted please.
|
| skc
 
T

Thomas A. Rowe

Does the user have JavaScript enabled in his browser?
Does the user have a popup stopper installed?

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
S

skc

-----Original Message-----
Does the user have JavaScript enabled in his browser?
YES

Does the user have a popup stopper installed?

How can I find out?

If there is no answer, I need to know a universal method
of launching a pop-up window without using JavaScript
which is a certain size, eg. 500 x 500.
 
T

Thomas A. Rowe

See inline below.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


skc said:
How can I find out?

The user would know if they installed one or use an ISP the provided it.
If there is no answer, I need to know a universal method
of launching a pop-up window without using JavaScript
which is a certain size, eg. 500 x 500.

The universal method for creating a popup window where you control the size
is JavaScript.

Instead of using form buttons, use images for hyperlinks, then use the
following as your link:

Javascript:launchCenter('enquire.htm', 'center', 440, 600);

or

Use the same method you are using on your home page.
 
S

skc

So I delete my form buttons in grey, add an image to
mimick the form buttons, right click the image in
FP>Hyperlink then put in there: Javascript:launchCenter
('enquire.htm', 'center', 440, 600);

Am I correct?

Are you sure this will work?
 
T

Thomas A. Rowe

The reason I told you to add form tags around the buttons, is that browsers
other than IE may not see the form button element as a form without the form
tags, in which case the button would not be functional..

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

Yes, that is correct. I always use similar hyperlink, to launch JavaScript
popup windows.

I never use a form button or elements unless I am actually submitting form
data to a form handler.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
S

skc

take a look yourself - I tried it and keep getting
[object] come up in the parent window. Try searching for
a car and click the buttons to see.

Please HELP!!!!
 
T

Thomas A. Rowe

Use the following:

<td width="28%"><a href="Javascript:launchCenter('fin_example.asp',
'center',350, 500)"><img border="0" src="images/fin_ani2.gif"
align="right"></a></td>

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


skc said:
Take a look now - I keep getting [Object] come up in the
parent window.
-----Original Message-----
The reason I told you to add form tags around the buttons, is that browsers
other than IE may not see the form button element as a form without the form
tags, in which case the button would not be functional..

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp




.
 
T

Thomas A. Rowe

SKC,

Here is a page using my example:

http://www.glassart.biz/Listings/Listings.asp?L=C04S25

Click on any of the icons in the top right of any listing. The same applies
for the first 4 text links under the Art Glass Calendar on the left side of
each page.

Now I don't use the specific JavaScript functions that you are using with
all of the options, so that could be part of the issue.

Here is the JS from the above page:

<script language="JavaScript">
<!--
var Contact
function MakeContact(Display)
{
ShowWindow1=window.open("","Contact","scrollbars=0,resizable=1,width=402,hei
ght=450,top=50,left=50");
ShowWindow1.location.href=Display
self.Contact = ShowWindow1
}
//--->
</script>

<a href="javascript:MakeContact('Contact.asp?a=<%=RS("AcctNo")%>');">

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================


skc said:
Take a look now - I keep getting [Object] come up in the
parent window.
-----Original Message-----
The reason I told you to add form tags around the buttons, is that browsers
other than IE may not see the form button element as a form without the form
tags, in which case the button would not be functional..

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp




.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Issues 9
REPOST POP-UP HELP!!!! 5
Javascript pop-up REPOST! 11
Speed issue 9
Sticking video buttons 5
Access backend database speed issues with DRW 20
Video buttons in DRW 4
Pop-up windows do not work! 5

Top