Can My iWeb site show a different homepage when used on iPhone?

Hey all.
My problem started when I decided to use iframe on a site that i am making for a restaurant. The site needs to work well on a computer as well as a mobile device. Everything works well, but i realized that iframe is not supported on the iOS safari. I doubt there is a solution for that, but if there is please let me know. I figured it would be easiest to simply make a duplicated homepage for the iphone users, but instead of iframe post a picture or something. *On wordpress i used a plug-in to show a different homepage on a mobile device, but on iWeb i can't figure out a solution. Also, if there is a way to edit the iframe HTML to show an image on the mobile browser instead of the actuale frame it would be very useful too.* Thank you, I need all the help I can get

I haven't an iPhone or iPad but use the simulator instead.
It loads webpages with the <iframe> element perfectly.
iWeb uses the <iframe> for anything you paste in the HTML Snippet.
If the iPhone or iPad doesn't support <iframe> most iWeb pages wouldn't display.
You can test for an iPhone/iPad/iPod touch with this script :
<script language="JavaScript" type="text/javascript">
<!--
var agent=navigator.userAgent.toLowerCase();
// iPhone and iPod touch are both 'iphone'
var is_iphone = (agent.indexOf('iphone')!=-1);
var is_ipad = (agent.indexOf('ipad')!=-1);
alert("iphone = " + is_iphone + "
ipad = " + is_ipad );
if (is_iphone || is_ipad) { top.window.location = "http://www.apple.com"; }
// -->
</script>
Paste it in the HTML Snippet.
Use your own destination and remove the alert.
Message was edited by: Wyodor

Similar Messages

  • How to edit the same iWeb site on 2 different Macs?

    How can I edit the same iWeb site on 2 different Macs? I know we create a folder with the files, but when copying that to Mac2, iWeb on Mac2 doesn't see that folder - I can't see what the linkage is between the app's interface and the folder of site files....

    The answer is Domain.sites (extension hidden by default). You'll find this on the Mac you used to create the site at Users/YourUserName/Library/Application Support/iWeb. Copy that file to removable media and drag it to the same location on the other Mac. Launch iWeb and you'll see the site structure in the Site Organizer.
    Once you keep the Domain package in sync between the two machines everything will work smoothly no matter which you use. There's a neat tip here which may help in this respect, but you use whatever strategy you prefer:
    http://discussions.apple.com/message.jspa?messageID=1525121#1525121
    [ Visit here for iWeb Tips, Tricks and Hacks ]

  • How can I show additional tab rows when using many open tabs?

    How can I show additional tab rows when using many open tabs?

    What method (code) did you use to get the Tab bar displaying in the space used for the Navigation Toolbar (location bar)?
    The Tab bar should be displayed above the Navigation Toolbar.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I change user name on apps store , it keeps showing a different email when I wanna buy apps.

    How do I change user name on apps store , it keeps showing a different email when I wanna buy apps.

    Go to Settings > iTunes & App Stores touch AppleID, sign off, and sign on with the proper AppleID.

  • Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

    Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

    Why would iPad 1st Gen show up in two different locations when useing find my iPad App. ?

  • Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?

    Hello
    I'm currently developping an image processing algorithm using Labview 7.1 and the associated IMAQ Vision tools. After several tests, I found a weird result. Indeed, I put the labview algorithm - including the IMAQ VI on the library to get sure that I use all the time the same VI - on my memory stick and used it on two different computers. I tested the same picture (still in my memory stick) and had two very different results.
    After several hours trying to understand why, I found that there were a difference between the results given by both computers at the very begining of the algorithm. Indeed, I used a JPEG file.
    To open it, I first create an Image with IMAQ Create (U8). Then, I open it.
    Then in my first sub-VI, I use IMAQ Cast Image to be sure that the picture is a U8 grayscale picture.
    Right after that, I use the IMAQ Linear Averages. The results of this VI are different on the two computers.
    I tried several time on the same picture : one computer always give me the same result but the two computers give me a different result. So there is no random variable on the results.
    So my question is : Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?
    My bet is on IMAQ Cast Image but I'm not quite sure and I do not undestand why. The labview and IMAQ are the same on both computers.
    The difference between the two computer are above :
    Computer 1 :
    Pentium(R) 4 CPU 3.20GHz with a RAM of 1Go. The processor is an Intel(R).
    The OS is windows XP Pro 2002
    Computer 2 :
    Pentium(R) 4 CPU 2.80GHz with a RAM of 512Mo. The processor is an Intel(R).
    The OS is windows XP Pro 2002.
    If anybody can help me on this problem, it would be really helpful.
    Regards
    Florence P.

    Hi,
    Indeed it's a strange behaviour, could you send me your VI and your JPEG file, (or another file that reproduces) so that I could check this inthere ?
    I'll then try to find out what's happening.
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • When using the iphone 6 Plus. I use iMessage it is terribly slow to attach photo or take a photo the app does not show camera and slow... like 2 mins at least.

    When using the iphone 6 Plus. I use iMessage and then attach a photo or take a photo... the app does not show the camera fully or even to attach a photo does not work. I have about 8-9000 phones and like 10 short videos in there but it is incredibly slow and almost unable. I have the 128GB iPhone 6 Plus with 46 gb still available. I think this should not be so slow with so much memory still available. Please help. I am using 8.1.2. Yes I have set up the phone as a new phone. Apple store even reformatted this iphone 6 plus 2 months ago but it is still terribly slow Thanks

    Hey Bender1031,
    Thanks for the question, I can definitely understand how frustrating this issue may be with a brand new phone. Great troubleshooting so far by already attempting a restart and reset. If the issue persists, let’s try restoring your device and updating to the latest software (iOS 8.0.2):
    Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    iOS: How to back up your data and set up your device as a new device
    http://support.apple.com/kb/HT4137
    After erasing and setting up as a new device, your device is now in a factory configuration. Test to determine if erasing and setting up as a new device resolved the issue. Content on the device may have caused unexpected behavior.
    - If the issue is still present, you may want to contact Apple Support.
    - If the issue is now resolved, sync one type of content at a time back to the device. For example, if you had an issue playing music, add songs from iTunes and confirm they will play. If your contacts weren't loading successfully, add the contacts back. After each sync, test to see if the issue has returned.
    Thanks,
    Matt M.

  • How can I make the status bar hide automatically when using safari?

    How can I make the status bar hide automatically when using safari?

    When Safari is in FullScreen mode, menu bar will be hidden.
    Safari window to fit the screen?
    Move the mouse pointer to the bottom right corner of the Safari window.
    Double arrows will appear. Drag it to resize the window to fit the screen.

  • How can I decide the size of HANA server when using DMO of SUM ?

    Hi expert,
    I want to execute DB migration from MS SQL to SAP HANA by using DMO of SUM.
    So I have a question.
    How can I decide the size of HANA server when using DMO of SUM ?
    Now I have MS SQL in windows server.
    But in order to use HANA , I have to prepare Linux server.
    I want to know How can I decide the size of this Linux server.
    Can I expect the function of data compression in HANA ?
    Thanks in advance .
    Kazuki.

    Kazuki,
    Please take attetion:
    Your linux box already created = Application server:
    Application Server
    Based on the measurements SAP doesn't expect any changes concerning CPU, memory and network requirements for the ABAP application server. This means that the existing hardware and network infrastructure can still be used. Please check the PAM (www.service.sap.com/pam) for further details.
    SAP HANA Appliance ( porvided by your hardware partner)
    Consider SAP Note recommendation for HANA Main Memory, HANA CPU and HANA Disk Space.
    Regards,
    Edinaldo Junior

  • Can i buy a sim card in europe to use my iphone to send/receive calls and texts?

    can i buy a sim card in europe to use my iphone 4s?

    That would depend if you have an unlock phone or not. 

  • Why wont camera roll from iphone show up on ipad when restored from iphone?

    Why wont camera roll from iphone show up on ipad when restored from iphone? I purchased the ipad and when I went to set it up I chose restore from iPhone. All the apps transferred and the photos in the stream but not the camera roll. When I restored a new iPhone the camera roll transferred.
    is there a way to get camera roll on ipad?
    Thanks

    Camera Roll photos from an iPhone backup will not be transferred to an iPad. iPhone to iPhone will transfer the Camera Roll, but iPhone to iPad, or iPad to iPhone will not transfer the Camera Roll.
    Cheers,
    GB

  • Can I disable the "corners" that turn down when using Parallels?

    Can I disable the "corners" that turn down when using Parallels?

    "Auto Save" is Apple's term, I guess. Its controls are so well-hidden I'm flying blind here.
    But as I put it in a note to a magazine dedicated to Apple:
    I think Auto Save is one of the dumbest things Apple has ever come up with -- oh so typical of what Bill Gates used to give people: lots of extra stuff no one ever asked for, and no one at his company ever thought through.
    Say there's a conflict with a program or two I'm trying to use. Machine locks up. I force quit and shut down -- probably without ever seeing the option of stopping Auto Save.
    When I open up again, what am I faced with? Yup, exactly the same mess I just tried to get away from.
    Boo, Apple!

  • How can I upload my iWeb site to 2 different domain addresses?

    I have two different domain names, but I want to publish one iWeb site to both addresses.
    I can't work out how to do it, I was thinking to duplicate the whole site but using the other address. Then I would have to make indiviual changes to both sites when updating content etc.
    There must be an easier way to do this, I am missing something?

    Your info says you use iWeb 08.
    That means you publish to a folder.
    If so, iWeb is not involved. You decide what to do with the published files on the desktop.
    With iWeb 09 you only have one FTP address. To publish to another server you have to change the publish info.
    But everytime you do that, iWeb will publish the entire site.
    You can't have both. iWeb was not meant for that.
    Anyway, you provided the solution yourself : duplicate websites for each server.
    There's actually no need to make the changes in each site.
    Make changes in one site, and duplicate the page to the other site.
    Then publish.

  • Transporting an iWeb site to a different Mac computer

    You were all so helpful with my last question...
    I have been working on an iWeb site but have not yet published it (I don't yet know the ftp server address to which it will be published).
    I can't figure out how to save it to a jump drive or move it from my external hard drive (where it is now) to a different computer.
    It seems as though there is an option of "publish to a folder," (which I could potentially then move from the external hard drive to the new computer) but I'm reluctant to do that for fear of losing it altogether.
    Any advice???
    Thanks,
    Lara

    Hi Lara,
    Easily done!
    See these notes for instructions on how to edit and publish the same iWeb site from two separate machines.
    Post back if you run into problems and everyone here will lend a hand.
    Mark

  • Has anyone published their iWeb site to their old Homepage folder?

    Hi,
    I'd like to avoid changing URLs, and was thinking I could just publish the iWeb site to the folder my homepage site is in on my iDisk. Would that work? Has anyone done that before? Any issues I should know about?
    Thanks for your help!
    Lora

    Lora. It can be done but not much is to be gained and many features will not work the same as if published to a "folder" and then uploaded to your iDisk.
    Do a bit of "homework" and learn some of the rules about iWeb, Homepage and your iDisk.
    Changing your URL's is the easy part. Getting all the external parts to work is, well, work.
    Plenty of ways to integrate older pages (via external links) into your new iWeb pages.
    The brave can edit the html code to make their own iWeb and Homepage Sites:
    http://web.mac.com/kkirkster/iWeb/Maya/Maya.html

Maybe you are looking for