Header

Welcome to Site Talk Zone, the place to talk about doing business online! Our discussion forums include online business planning, design, development, and marketing. We welcome all online business owners to participate and join us!

Registration is simple, quick and free. Join us right now and enjoy the benefits of all the features that Site Talk Zone offers.




Javascript, jQuery & Ajax Web programming language employed to create dynamic effects onto a website

Reply
Old 12-23-2008, 12:50 PM   #11 (permalink)
Sitetalkzone Member
 
Giant's Avatar
 
Join Date: Oct 2008
Location: Somewhere in outer space
Posts: 201
Credits: 1,108
Thanks: 4
Thanked 26 Times in 24 Posts
Giant has a spectacular aura aboutGiant has a spectacular aura aboutGiant has a spectacular aura about
Points: 1,162, Level: 18 Points: 1,162, Level: 18 Points: 1,162, Level: 18
Activity: 0% Activity: 0% Activity: 0%
Send a message via MSN to Giant
Default Re: Button Control

hmm,
try it like this?

<button type="submit" onclick="window.location = 'http://www.blogbydesign.com/contact/'">
<img src="<?=bloginfo('template_url'); ?>/images/icons/comment.png" alt=""/>
Submit Your Blog!
</button>

If it doesn't work,
then do you have it somewhere online?
__________________
have you met mister bunny yet?!
To view links or images in signatures your post count must be 0 or greater. You currently have 0 signatures.

(\_/)
(o.o)
(><)
(./\.)
Giant is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-24-2008, 06:21 AM   #12 (permalink)
Penniless Student
 
BoneIdol's Avatar
 
Join Date: Dec 2008
Location: Englandshire
Posts: 100
Credits: 69
Thanks: 2
Thanked 43 Times in 32 Posts
BoneIdol is a jewel in the roughBoneIdol is a jewel in the roughBoneIdol is a jewel in the roughBoneIdol is a jewel in the rough
Points: 1,108, Level: 18 Points: 1,108, Level: 18 Points: 1,108, Level: 18
Activity: 0% Activity: 0% Activity: 0%
Default Re: Button Control

Quote:
Originally Posted by sneakyheathen View Post
Nope, nothing. Maybe my button is doomed for failure.
Is there any reason it has to be a button? Could you not just make an a link and style it to look like a button? That way it'll work even when JS is turned off.

Example:
HTML Code:
<html>
<head>
<style type="text/css">
  a.button{
    border: 2px outset #000;
    background-color:#666;
    display:block;
    float:left;
    height:20px;
  }
    a.button:hover, a.button:focus{
      border-style: inset;
    }
</style>
</head>
<body>
  <a class="button" href="yourpage.html">Rawr!</a>
</body>
</html> 
(May need tweaking, I just made this up now in this window)

Try using the noscript firefox plugin for a week. It's a real eye opener into how badly coded a lot of websites are.
__________________
Layabout student and freelance webdeveloper.
I can also design and animate things too!
BoneIdol is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
button, control

Thread Tools
Display Modes

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:57 PM. vBulletin® | Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
All Rights Reserved - SiteTalkZone | Intelligent Internet Business Chat






1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63