User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 401,476 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,135 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 458 | Replies: 1
Reply
Join Date: May 2008
Posts: 15
Reputation: thosecars82 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
thosecars82 thosecars82 is offline Offline
Newbie Poster

buttons with variable lenght and curvy corners

  #1  
May 13th, 2008
Hello there
I am stuck with this problem.
I know how to use the four graphics corresponding to the four states of the button (with curvy corners) which I want to use in a menu. Nevertheless,
the problem comes because I want the length of my button to be variable depending on the length of the text which appears on the button. This is due to the fact that the length of my button's text changes dynamically.
I would appreciate any suggestion since I am stuck with this problem and no successful strategy has come to my mind yet to solve this problem.
Thanks in advance.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,534
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 107
MidiMagic's Avatar
MidiMagic MidiMagic is online now Online
Posting Maven

Re: buttons with variable lenght and curvy corners

  #2  
May 14th, 2008
Are you going for some kind of award for the hardest to create webpage in history?

And I suppose you don't want the curves to change shape if the button stretches the image.

The only way I can think of to do this is to have a series of images for different lengths, and pick the one that works for the length of the text.

By the way, I am totally sick of rounded corners. They remind me of early 1950s roller rinks.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 1:58 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC