Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
- Subject: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
- From: David LeBer <email@hidden>
- Date: Tue, 24 Jun 2008 21:04:18 -0400
On 24-Jun-08, at 8:43 PM, Chuck Hill wrote:
On Jun 24, 2008, at 1:29 PM, J Stephanos wrote:
I have been trying get a different look for the tabs in
AjaxTabPanel (ProjectWonder) by replacing the tabs with my own
images (of tabs). With the CSS (id) selector on each tab I can
sort of do that but the problem is with the name binding.
From the code:
/ * @binding name required, String the text shown in the tab that
is clicked on to select the tab */
If I set the string, it overlays the tab image, if I don't (by
setting a blank string), there is nothing to click on.
Is there an easy way around this problem?
Not unless there is some CSS magic to make the text invisible /
clear. You could try making the name a bunch of I think the
only real fix would be to add an image or some such binding.
I've not looked at the AjaxTabPanel so I have no idea if this helps
but...
Often when doing css styled tabs the <a> is styled as a block or float
with a height and width and the tab image is set as it's background
image. This makes the entire tab clickable, and it also allows a:hover
to change the background image to show a hover state.
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden