The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Command imbedded in Button
Tuscolablue
post Jan 27 2010, 10:22 AM
Post #1





Group: Members
Posts: 1
Joined: 27-January 10
Member No.: 10,937



i have a site with a button and a link below the button to a catalog. I want to only have the button, that when pushed links to the catalog without having the text below. My code is below. Thanks.



<br />

<img src='/images/viewandprintcatalog.jpg' border='0' />
<br />

<a style='cursor: pointer' onclick="java script:window.open('/downloads/2010_DeckerCatalog.pdf','Catalog','width=550,height=500,statusbar=no,toolbars=no,location=no,scrollbars=yes');">Download the 2010 Catalog</a>

<br /><br />
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jan 27 2010, 12:12 PM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,284
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How do I link an image to something?

Please use an href attribute so your linked image works when JavaScript is disabled/unavailable. There is a good example in the FAQ entry How do I create a link that opens a new window of a specific size?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 12th December 2018 - 05:28 AM