• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 &nbsp; 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

  • Follow-Ups:
    • Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
      • From: Chuck Hill <email@hidden>
References: 
 >AjaxTabPanel Tabs - looking for a way to use images as tabs (From: "J Stephanos" <email@hidden>)
 >Re: AjaxTabPanel Tabs - looking for a way to use images as tabs (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
  • Next by Date: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
  • Previous by thread: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
  • Next by thread: Re: AjaxTabPanel Tabs - looking for a way to use images as tabs
  • Index(es):
    • Date
    • Thread