•
•
•
•
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
![]() |
•
•
Join Date: May 2008
Posts: 15
Reputation:
Rep Power: 1
Solved Threads: 0
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.
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.
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.
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Overlapping Layers Problem
- Next Thread: Defer until load complete?



Linear Mode