Iweb html snippet

Hi, since I have updated to ilife 09 my html snippet and Youtube will not show on my site.
Use to work fine before!! Any hint?? Thanks

Welcome to the Apple Discussions. You might have to delete that widget and recreate it. What's the URL of your site so we can examine the page first hand?
OT

Similar Messages

  • IWeb, HTML Snippet, and MySQL via GoDaddy (db already built)

    I have a site (zigcodes.info) that is hosted by GoDaddy. I built the site using iWeb. No complaints there. I have a MySQL database and table built to store codes added by users. There is also one called "hit list" on another page, but I haven't finished coding it. I need to solve this problem before I can finish that page. So far, I've successfully linked my submit forms to the database. When a user adds a code, it does indeed populate into the database (hooray for small miracles).
    Of course, doing this dumps the user onto a blank white page, but I think I can fix that with a redirect at the end of the php file used by the form. My problem comes in when I try to display the codes in the database on my page. I know how to query the db using SELECT * FROM, but I can't figure out what to do with the data after that.
    I'm having a heck of a time getting the HTML Snippet widget correct in iWeb. I've seen suggestions that are all over the place, but can't seem to get any to work. I'm told that <iframe> may be a viable solution, but I am at a loss as to how. Honestly, my site is very simple and I don't need fancy functionality. All I need is a list, in table form would be nice but really not necessary, of the 30 names/codes most recently added to the db by users of my site. I can get the echo command to print headers for my data, but not the data itself.
    Will <iframe> work, and if so, how? If not, what's my best bet? Should I go with a table in the HTML Snippet widget, with tags like  <? echo "$code"; ?> inserted into my<td></td> content? Or, would it be best to use the <script src="activecodes.php"></script> solution with an external php file? Or am I way off on all of these? I do know that iWeb won't do it for me with it's own magic, but it seems like there should still be a way to add code into the HTML Snippet widget and display the db data on the iWeb designed page. Help?

    Yeah, the code you suggested isn't live now because I always remove changes to my code that affect no change. It makes for a cleaner build later. Here are some variations of your sugestion that I tried:
    <div align="center"><form name="newcodes" action="newcode.php" method="post">
    <input type="text" name="newcode"/>
    <br />
    <input type="submit" value="Add it!" />
    <input type="hidden" name="good_url" value="http://www.zigcodes.info/" />
    </form>
    </div>
    AND
    <div align="center"><form name="newcodes" action="newcode.php" method="post">
    <input type="hidden" name="good_url" value="http://www.zigcodes.info/" />
    <input type="text" name="newcode"/>
    <br />
    <input type="submit" value="Add it!" />
    </form>
    </div>
    AND
    <div align="center"><form name="newcodes" action="newcode.php" method="post">
    <input type="text" name="newcode"/>
    <input type="hidden" name="good_url" value="http://www.zigcodes.info/" />
    <br />
    <input type="submit" value="Add it!" />
    </form>
    </div>
    I even tried this because I saw other people suggesting it in similar forums:
    <div align="center"><form name="newcodes" action="newcode.php" method="post">
    <input type="text" name="newcode"/>
    <br />
    <input type="submit" value="Add it!" />
    <input type="hidden" name="redirect" value="http://www.zigcodes.info/" />
    </form>
    </div>
    All of the above produce the exact same, unwanted result: a blank white screen with the URL of my .php file (the one that handles the form post).

  • Youtube Video in iWeb "html Snippet" is Blank?

    The html Snippet Widget shows an unhappy face icon when I publish the site to the internet in preview form. In iWeb itself the video shows up as a blank box on my site when I load the "embed" text from the Youtube video into the black box window and hit "apply".
    Here is the Youtube Embed text if it helps to analyze it. <iframe width="560" height="315" src="//www.youtube.com/embed/GdC9WLhUum0?rel=0" frameborder="0" allowfullscreen></iframe>
    I can successfully load the Youtube Widget but I dislike the 4 x 3 format with excessively large top/bottom black bands and control bar. I prefer the 16 x 9 format of the html Snippet, but it needs to function.
    Help please.
    Dan

    Okay, it is simple.  The video will not work because there are mistakes in the code that you have posted - if the code is incorrect then it won't work.
    Where you have src="//www.youtube.com/embed, the code should in fact be as follows:
    src="http://www.youtube.com/embed
    I have just opened iWeb on my Mac and copied and pasted the code, but then changing it to http:// and the video works perfectly - comes up with someone in a canoe and is entitled River Discipline.

  • IWeb HTML snippet doesn't work hosted outside MobileMe

    Hi
    I created a site with iWeb and used to HTML snippets.
    When I publish the site on MobileMe all works fine
    When I publish the site with my Dutch Web hosting company, those HTML components won't work.
    The vistor to the page finds a error message instead of the HTML widget:
    Not Found
    The requested URL /test/Welkom_files/widget3_markup.html was not found on this server.
    Apache/2.0.52 (Red Hat) Server at www.knipdoor.nl Port 80
    Does anyone know what's wrong and how to solve the issue?
    Look forward
    Henk, NL

    Does anyone know what's wrong and how to solve the issue?
    It's clearly written :
    The requested URL /test/Welkom_files/widget3_markup.html was not found on this server.
    So go to your server and see if it's really missing.
    And if you added/deleted/changed HTML Snippets, iWeb creates new widget-markup files with new sequence numbers. When you load the webpage, some widget-markup files might not be present anymore because of these changes.
    Clear the cache of the browser and reload the webpage.

  • IWeb HTML Snippet--Facebook Badge

    I've had a Facebook HTML Snippet on my iWeb home page for over a year and suddenly this week, it quit working. I just see the outline box with a question mark in the middle now. I tried deleting the snippet an republishing it several times. I've repasted the HTML code from Facebook several times into the box. When I click on APPLY, it just doesn't work anymore. I've tried several of the Facebook snippets, and none of them work either. Wonder what's changed?
    www.mikemilliorn.com

    Bonjour
    I have this kind of message when I insert the image URL in my browsers
    An issue with the URL using the HTTPS protocol...
    If you change in the code
    https://badge.facebook.com/badge/1328400337.435.9546049.png
    by
    /___sbsstatic___/migration-images/131/13141013-2.png
    you will see the badge
    I can't test more your widget because I have no Facebook account

  • IWeb HTML Snippet NOT WORKING.

    Hello!
    Whenever I open iWeb and try to insert HTML Snippet, the proper HTML rectangle that has < H T M L > and a map of the world in the background appears, just like that. No edit box has appeared. When I double click it, a blue outline appears, but still no edit box to insert the HTML code into.
    I've tried removing com.apple.iWeb.plist and also com.apple.iapp.plist or something along those lines, and also removing the iWeb folder from Caches, and nothing has worked.
    I'm using iWeb 2.0.4, obviously.

    Did you purchase iLife 09 in your attempt to upgrade to iWeb 3? If not that's why you couldn't run any of the iWeb 3 updaters. You have to have iWeb 3.0 installed from the iLife disk installed.
    What was unsuccessful about trying to reinstall iWeb 2? Did you delete all receipts with iWeb in the file name located in the HD/Library/Receipts folder before reinstalling iWeb? If no, delete them and the application and reinstall.
    OT

  • IWeb HTML Snippets and Firefox

    Hey all
    I'm using iweb to make a website and i'm using the HTML snippet to embed a .php page on my site
    Here is the code im using -
    <HTML><EMBED
    SRC="http://www.acusis.co.uk/v2/gigcurrent.php"
    HEIGHT=400 WIDTH=629></HTML>
    This displays fine in safari but in firefox it says missing plugin, and then has no idea what the plugin it needs is???
    Any ideas????

    marcbernard wrote:
    Hey all
    I'm using iweb to make a website and i'm using the HTML snippet to embed a .php page on my site
    Here is the code im using -
    <HTML><EMBED
    SRC="http://www.acusis.co.uk/v2/gigcurrent.php"
    HEIGHT=400 WIDTH=629></HTML>
    This displays fine in safari but in firefox it says missing plugin, and then has no idea what the plugin it needs is???
    Any ideas????
    Try to remove the html tag.

  • IWeb html snippet to stay permenantly in place

    In iWeb how can you make an html snippet stay permenantly on the bottom right of any page?

    Just want to make sure I understand.  Is this what you are saying?
    <script type="text/javascript">
    top.location.href = "http://MYEXTERNALBLOG/"; </script>
    I figure I must be missing something?  Tried the above and still no luck with it opening in a new window...

  • IWeb HTML snippet does not work, adobe flash player is blocking

    Hi there I have a code that I embed in HTML snippet in iWeb 9 , but when it is loading a message pop out says that adobe flash player has block the iWeb from accessing the website. Please help

    Can you post the code you are using so that we can see what the problem is?

  • IWeb HTML Snippets not working in Explorer

    I made some HTML snippets to show a web page inside my own similar the way frames, which works great. But they don't work when brought up in Internet Explorer on a PC. Anyone know what the problem might be.

    Same problem. They work fine with Safari and Firefox.
    I am still trying to solve it.

  • IWeb HTML Snippet not working!Help!

    I am new to building a website but understand where to copy and paste the HTML code to and from. However, everything I have tried will not work in the HTML Snippet.  I have spent 6 hours trying to find a way to get it to work. Suggestions???

    Anything from Youtube, Vimeo and other sites. Below is one of the Youtube embedded codes.
    <iframe width="420" height="315" src="//www.youtube.com/embed/kCZqyWw2--M?rel=0" frameborder="0" allowfullscreen></iframe>
    This is the "old" code for the below video.
    <object width="420" height="315"><param name="movie" value="//www.youtube.com/v/kCZqyWw2--M?version=3&amp;hl=en_US&amp;rel=0"></para m><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/kCZqyWw2--M?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
    Neither of these will work. The "old" code will make my html box turn white but nothing else happens.
    Any suggestions?

  • Having trouble with html snippets and movies in iweb 09

    Hi I have built a site iweb2.0.4 and recently moved it onto my new machine with iweb 09 on. Basically I have been putting in videos that I have exported for web out of Quicktime. In the past I have simply added an html snippet code like this in <iframe src="http://evileducation.org/stammuraifinalcomp/ReadMe.html" style="width: 340px; height: 285px"; scrolling="no" controller="true" frameborder="0"></iframe>
    I edit the ReadMe.html based on a tutorial I saw and it loads the movie after pressing the "Click to play" button. Now in 09 when I put the code in to the snippet it just shows a Quicktime symbol with a question mark. if you check the link below you can see the videos with the best I have managed to do so far which is get the new movies on but they both autoplay (I have linked in this instance to the 4kb .mov in each folder rather than the readme.html.). I don't want to just drag a video in I would like the options to view on phone or on computer etc and not for them to autoplay. Is there a new/ different way to do this now. Surely it shouldn't be this hard to get the export for web in Quicktime and iWeb to work together? The frustrating thing is if you check the link below the old movies work fine still it's just the 2 new ones. Soz for the long one!
    http://evileducation.org/eviltwin_education_2010/movies_made_by_youngpeople.html

    Less cryptic :
    MAKE THE TWO MOVIES THE SAME AS THE OTHER EIGHT.
    Here are some pages for your convenience you can study and nim :
    http://www.wyodor.net/iFrame/
    http://www.wyodor.net/MoreEmbed/
    [Using the iWeb HTML Snippet|http://www.wyodor.net/blog/archives/2009/07/entry_213.html]
    http://www.apple.com/quicktime/pro/tutorials.html
    You may have to learn HTML/CSS/JavaScript.
    for the young people with disabilities that made
    Keep the emotions out of the equation.

  • My HTML snippet widget on iWeb looks great on iWeb, but when I publish the page the HTML snippet doesn't appear on the webpage.  Why?

    I pasted in some HTML code generated by Google Forms into the iWeb HTML snippet widget.  It looked great on my iWeb viewer, but when I published it to my website, the HTML snippet google form did not appear on my webpage.  Does anyone know how to fix this?

    What is the code?

  • Preload rollovers in HTML snippets

    Hi there, bit of a random one, and a little bit specialist, but I have a HTML snippet which is a rollover in iWeb, but obviously it doesnt load either of the two rollover images until the first time they are 'touched' my the mouse. After that it's fine, but I can't figure this one out? The code for the rollover I'm using so far is: <script type="text/javascript" language="JavaScript">
    ?function mouseOver()?{?document.rollover_one.src ="ORIGINAL IMAGE"
    ?function mouseOut()?{?document.rollover_one.src ="ROLLOVER IMAGE"
    </script>
    
 Apparently this code is for preloading javascript: <script type="text/javascript">
    <!-- hide from non JavaScript Browsers
    Image1= new Image(150,20)
    Image1.src = "pic1.gif"
    Image2 = new Image(10,30)
    Image2.src = "pic2.gif"
    Image3 = new Image(72,125)
    Image3.src = "pic3.gif"
    // End Hiding -->
    </script>
    But if it DOES work in iWeb 'HTML' snippets with rollovers, i still have no idea how to 'merge' the code :S How would I incorporate further javascript code into that to 'preload' stuff so that the rollover images dont have to be cached first? Cheers! T

    The one of the two codes shown on this demo page: Rollover-gifs .
    WOT

  • WEB WIDGET - HTML SNIPPET  how to post myspace music in iWeb

    i'm making a site for a band. i'm using the *web widget- html snippet* to insert the myspace player from a band. the bands site is http://www.myspace.com/mod39lone.
    this is the code i'm putting in :
    <embed src="http://lads.myspace.com/music/musicplayer.swf?n=aHR0cDovL211c2ljLm15c3BhY2 UuY29t&t=wz7NYVvdN1sD5sZn5jwqhteIJEBAWtU7cGxSvblOZr59VYuvhFOEuaUs29mG1lCNKsOUiB4 00Vl6iAOogScxHQ==&u=LTE=&a=0&d=MTc4MzA0MTgxXjExODc3NDE1MjU=" quality=high bgcolor=#FFFFFF width="450" height="345" name="mp3player" align=""type="application/x-shockwave-flash" FlashVars="culture=nl-NL"pluginspage="http://www.macromedia.com/go/getflashplay er"> </embed>
    when i'm editing iWeb, the player shows up and plays the music and everything is fine! but when i publish the site, it says "Movie not loaded" when you click on it.
    the site i'm currently working on is still being worked on, but i made an extra page to show whoever could help me. the link is:
    http://web.me.com/henreegee/IamTokyo/Blank.html

    That method can be done using iFrame code in an HTML snippet. You need to upload the Family Matters - Computer.m4v file to your server and link to it there via an HTML snippet and iFrame code. An example is in this demo page along with the code: QT movies via iFrame.
    There are other ways to add the movie (the full one Family Matters - Computer.m4v.
    One is to upload the file to your server and linking to it as shown in this demo page: Opening Item in a New, Precisely Sized Window.
    The method you posted is explained in this tutorial: Old Toad's Tutorial #18 - Adding Movie/Video File to iWeb Page via Export for Web in Quicktime Player. To see the edits click on the buttons in steps 5a and 5b.
    OT

Maybe you are looking for