How has this been done

I was looking at the source code for apples site and found this
http://images.apple.com/uk/global/nav/images/globalnavbg0225.png
so it seams their entire navigation bar is done with a single image file
Individual parts of the bar respond to events such as mouse overs with image swaps (as you can see from that link the bar has 4 possible states)
what i want to know is this
how can individual sections of the bar have an image swap when the only image they have is an image of the entire bar
I can think of one way but i dont know if this is what they have done or not
each section is its own DIV/ list item/ Span tag (whatever they used) and each section links to the file but offsets it with absolute positioning and overflow hidden so that only the relevant part appears? but if this is what they have done how have they made the mouseover effect work in the same way?

1) a single image file has a fixed width and height, ofen a DIV does not - this is the reason why we use DIVs not tables.
Huh?  Tables have no fixed height either.  But the reason has nothing to do with the going in statement.  Sorry I don't get your point here.
sometimes a site will set a background to repeat. but this only works when you need the exact same colour repeated over and over. If the image is a complex one then applying it to a canvas without a fixed size wont work unless you are willing to stretch and distort the image.
<shrug>  I don't understand either the content of the paragraph or what its relevance is to this discussion.
2) if your using a single image to give you all the background images you have a lot of  "white" or "transparent" area, this ammount to extra data that has to be downloaded.
WHAT?  We are talking about using a single image for a sprite-based rollover.  That's all.  And whitespace adds NOTHING to the page's weight or bandwidth....  Sorry - I'm not grasping where you are trying to go here.

Similar Messages

  • How has this author made their widget full screen by default

    Get the sample of this book
    http://itunes.apple.com/us/book/abc-animals/id502272114?mt=11
    You can tap the word to hear it. It's clearly a widget right? But it doesn't behave like a normal html widget - it's full screen right from the start and doesn't have the x in the corner
    how has this been done?

    Try using a Keynote widget and check 'Full-Screen Only'.
    Make a slideshow in Keynote, then build a landscape-only book.

  • Adobe Bridge has been deleted and needs to be re-installed. How can this be done without reinstallin

    Adobe Bridge has been deleted and needs to be re-installed. How can this be done without reinstalling the entire CS5

    Hi RDMDanielM,
    Welcome to the Community!
    We cannot install Adobe Bridge as a Standalone product, you can just reinstall Photoshop and Bridge will be reinstalled with it. Go ahead and start uninstalling CS5 suite but choose Photoshop from the list and the same will be applicable while Installation.
    Thanks!
    Ankit

  • How to find out the GR Numbers for which IR has not been done

    Hi Sap Gurus,
    Can anybody tell me how to find out the G R Numbers for which Invoice Receipt has not been done. Any TC or ant standard process to find out.
    Thanks N Regards,
    Siddhartha

    Hi Siddarth,
    Solution :
            1) Go to SE16 - Table Name : EKBE (PO History)
            2) Field - BUDAT (Posting Date)
            3) Transaction event Type:
                             - 1 (Only GR's )
                             - 2 (Both GR and IR)
            4) We can fetch both GR Numbers and also PO Numbers for which IR has not been done if transaction event - 1.
    In addition to MB5S, you can try this also...

  • How to stop uploading of Yosemite as it has already been done ? There is a bar in Launchpad showing that it has been stopped once.

    How to stop uploading of Yosemite as it has already been done ? There is a bar in Launchpad showing that it has been stopped once. Coming back on Appstore, I cannot delete : written  "pending". Sorry for eventual poor explanation as I write from France. Thank you

    Thank you for your reply.
    I have looked at this, however, if the line is say a dotted line, I can not edit this in the layer panel by going to the stroke style, it just comes up blank.
    So how would I go about editing this dotted stroke path once it is placed in Photoshop?
    For example if I wanted to change the gap between the dots?

  • TS1389 Trying to play purchased TV series to my Apple TV, I am requested to authorise the computer.  This has already been done and I have tried the suggestions regarding authorisation.  I can play the programs on my computer, but not the Apple TV.

    Trying to play purchased TV series to my Apple TV, I am requested to authorise the computer.  This has already been done and I have tried the suggestions regarding authorisation.  I can play the programs on my computer, but not the Apple TV.
    Any ideas?

    in remote app click on the
    lower left corner on the text
    top of the context menu click devices
    choose the appletv rather then your shared lib in the list
    if you are trying to view a movie that is located on your ipad on your tv using the appletv then
    you should use airplay mirror not the remote app

  • I have an iPod touch 4g that is jail broken and I would like to have it back to normal how can this be done?

    Can some one help me with my issue I have an iPod touch 4g that is jail broken and I would like to have it back to normal how can this be done?

    No one here can help you with that, check Google.
    If the baseband has been changed and you are trying to put the phone back to a condition to unlock it be aware you may not be able to accomplish this.

  • HI, HAS THIS BEEN CORRECTED YET?  I'M AFRAID TO CHECK!

    HI, HAS THIS BEEN CORRECTED YET? I'M AFRAID TO CHECK.  I  ALSO DON'T WANT TO WASTE ANYMORE INK AND PAPER.  IT IS GETTING EXPENSIVE,

    You may have no choice. If you hear no disk activity, you can hold down Command-Control-power button to force a restart. It should pick up where it left off.
    No backup is always risky.

  • I would like to transfer the balance from one Apple ID to another how can this be done??

    I want to transfer the account ballance from my account to my son's. I unintentionally redeemed one of his gift cards to my account. how can this be done?

    Sorry, but balances can't be transferred from one iTunes Store account to another. You'll either have to make his purchases through your account, or buy another prepaid card and redeem that in his account.
    BTW, for future questions, this forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help if you ask in the general iTunes forums.
    Regards.

  • I want to shoot a movie on my iPhone and edit it on my iPad using the iMovie app. How can this be done via iTunes on my computer?

    I want to shoot a movie on my iPhone and edit it on my iPad using the iMovie app. How can this be done via iTunes on my computer?

    You can't drag video into the filesharing pane of iTunes, you can only transfer projects.
    Videos need to come in via the photos tab of iTunes.
    The easiest way to get videos from the iPhone to the iPad is via the project export import.
    Projects can be exported from the iPhone, then imported to the iPad like this:
    iPhone Send a project or trailer to iTunes
    If the marquee screen isn’t showing, tap the My Projects button .
    Scroll to center the project or trailer you want to share.
    Tap the Share button at the bottom of the screen, and then tap iTunes; tap OK when iMovie indicates that export is complete.
    Connect your device to your computer, and then open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
    Select the device, and then click Apps at the top of the iTunes window.
    Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
    In the iMovie Documents pane, select the file you just shared, and then click the “Save to” button; save the file to your computer in a place where you can find it easily.You can also save the file by dragging it to the desired location on your computer.
    Disconnect the device from your computer.
    iPad Import a project or trailer from iTunes
    Connect your device to your computer, and open iTunes on your computer.After a moment, your device appears in iTunes, below Devices on the left.
    Select the device, and click Apps at the top of the iTunes window.
    Select iMovie in the Apps list below File Sharing. (You may need to scroll to see it.)
    Click Add below the iMovie Documents pane; in the window that appears, navigate to the file you want to add.
    Select the file, and then click Open to copy the file to your device.The file appears in the iMovie Documents pane when copying is complete.
    Open iMovie on your device; if the marquee screen isn’t showing, tap the My Projects button in the upper-left corner above the viewer.
    Tap the Import button at the bottom of the screen, and then tap the name of the project you want to import.When the import is complete, the project opens and can be edited like any other project.

  • I need to read data from a text file and display it in a datagrid.how can this be done..please help

    hey ppl
    i have a datagrid in my form.i need to read input(fields..sort of a database) from a text file and display its contents in the datagrid.
    how can this  be done.. and also after every few seconds reading event should be re executed.. and that the contents of the datagrid will keep changing as per the changes in the file...
    please help as this is urgent and important.. if possible please provide me with an example code as i am completely new to flex... 
    thanks.....  

    It's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
    [http://java.sun.com/docs/books/tutorial/essential/io/]
    *Unless you write a bunch of JNI code to replicate what the java.io classes are doing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Domino 8.5.3 iNotes "send not sending" in Firefox 3.6, has this been addressed in ver. 9 ?

    According to IBM Domino iNotes support, the Firefox failed to use the cached signed script, from Domino 8.5.3 iNotes, - signed script also could not be executed at that time, therefore the message was unable to be sent out. - Has this been fixed in Firefox 9 ?

    In a word, no.
    See http://www.pinkmutant.com/articles/Leopard/leospot.html for starters and my mod to Finder's Find at http://www.macosxhints.com/article.php?story=20080229204517495 for what you can change so you can find stuff excluded by the default structure. Do note that my mod no longer works in Snow Leopard, further crippling Spotlight searches.

  • I am trying to link to page in my document from the table of contents.  How can this be done?

    I am trying to link to page in my document from the table of contents.  How can this be done?

    The Table of Contents picks up selected named Styles in the text like Head 1, 2 etc.
    Have you actually applied the styles?
    Peter

  • I want to import songs frm my Ipod to my itunes library.  Songs were ripped from CDs to the ipod not purchased from itunes store...how can this be done?

    I want to import songs frm my Ipod to my itunes library.  Songs were ripped from CDs to the ipod not purchased from itunes store...how can this be done?

    You would have to let itunes rip the songs from the cd's, or you would have to copy the music from the computer which ripped cd's.
    iTunes does not support transferring music from the ipod unless it was purchased from the store.

  • Since Windows 2003 Services ending we moving Sharepoint Services 3.0 to Windows 2008R2, Any help how can this be done ?

    Since Windows 2003 Services ending we moving Sharepoint Services 3.0 to Windows 2008R2,
    Any help how can this be done ?
    We have 1 Server and single Farm.
    I have build New 2008 R2 Server and planning to restore Backup taken from Old server to this new server. Will this work ?
    Which version of Sharepoint should i install on Windows 2008 R2 server , i run sharepoint.exe downloaded but it throws error

    Sorry for late reply.
    Your next step is, create a new web application and deattach the content DB from new web application. You need to attach existing CDB to that web app.
    Here is some links for your ref (unfortunately this is for 2010 but it same steps should work in WSS as well)
    http://nikpatel.net/2009/03/11/step-by-step-process-move-site-collections-from-one-content-database-to-another/
    http://www.sharepointpitstop.com/2012/06/attachdetach-sharepoint-webapp-contentdb.html
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for

  • Acrobat XI Pro converting webpage to pdf not accurate

    I am having issues (along with several other users in my company) with converting a webpage to pdf using IE11.  The page converts with no issues, however the alignment of the text is incorrect.  The paragraphs have a hanging indent on all lines excep

  • Problem pool weblogic 6.1 and oracle thin driver 8.1.7

    Hi! I have a problem with CLOB column in Oracle 8.1.7. My enviroment is: Windows 2000, BEA WLS 6.1 and Oracle 8.1.7. I'm trying to use 'classes12.zip' provided by Oracle. I added 'classes12.zip' to CLASSPATH after than 'weblogic.jar' in my startup se

  • Is it possible to use a library ( pll ) in a PLSQL script ?

    Hi, I've got a library INVTOTRL.pll with a lot of packages in it. How to invoke a function from this libray in a simple PLSQL script file ? Thanks a lot. Romeo

  • System variable name for email field.

    Hi Can anyone give me the system name for the email field, eg username is &APP_USER. Thanks Fiona

  • UNICODE and sap generated programs

    Hi folks, we're just in a project unicode-conversion of R/3 Enterprise, now we figured out some problems: a lot of programs which are generated from info-structures like S0* structures reside in the sap-namespace and these are local objects, not tran