Javascript makes page load forever in IE

I'm using this function (
http://homepage.ntlworld.com/bobosola/pnghowto.htm)
to make a png file use alpha transparency proerly in IE. It
works great,
except the page loads forever. The stupid MS logo at the top
right keeps on
animating and the info bar always says downloading 1 item
(the file in
question is the one PNG file I have on teh page) Anyone know
why this
happens or how to fix?
My page is
http://dev.dosomething.org/
... the png file in question is the
black logo. (I know its in teh wrong place right now, but
thats a different
problem)
Ideas?

I would duck the whole issue by using a transparent GIF
"Alexander Ross" <[email protected]> wrote in
message
news:edn43j$lm2$[email protected]..
> I'm using this function
> (
http://homepage.ntlworld.com/bobosola/pnghowto.htm)
to make a png file
> use alpha transparency proerly in IE. It works great,
except the page
> loads forever. The stupid MS logo at the top right keeps
on animating and
> the info bar always says downloading 1 item (the file in
question is the
> one PNG file I have on teh page) Anyone know why this
happens or how to
> fix?
>
> My page is
http://dev.dosomething.org/
... the png file in question is the
> black logo. (I know its in teh wrong place right now,
but thats a
> different problem)
>
> Ideas?
>

Similar Messages

  • HOT TIP to make pages load faster (img background?)

    OK this obviously won't apple to everyone but... I managed to DRAMATICALLY reduce the page load time.
    Firstly, this tip is for you if you're using a background image on your page - in the content for example - where I'm using mine.
    iWeb, for some reason known only to the developers, creates a PNG image the COMPLETE size of your web page!
    So if you're site is 700px wide and you've got a lot of photos on a page then it could go say 3000px in height. iWeb will create a 700px X 3300px (or so) PNG with your background.
    THIS WAS 1.4MB!!!! for me..... absolutely crazy!
    They put in no-repeat on the background CSS.
    So how to fix this...
    It's actually quite easy
    1) Publish to a directory
    2) using photoshop or some other image editing tool that can open PNG files, open up the largest background_image1.png - largest being largest in px X px - e.g. 700 X 3300 is bigger than 700X1800
    3) crop the image in width from 700px to 5px - yep you read that right - crop it to 5px!
    (Now obviously this depends on the image you're using in the background but I am assuming that most images are patterns that repeat horizontally... if you have another image that repeats horizontally and is bigger than 5px then make the image as wide as your repeating image)
    4) save the image as a JPG
    5) open MassReplaceIt
    6) create a query where you replace /background_image1.png) no-repeat with /background_image1.jpg) repeat-x
    7) set it to update all HTML pages that use a background
    8) copy the JPG to all folders that have the background image (unfortunately as the folder name is different it's difficult to just put the image in the /images directory - and i don't know how to use wildcards in massreplaceit - any tips welcome)
    NOTE: I am using the same image background on all pages for consistency therefore I have the same filename - I am assuming that it's like that for everyone - the filename that is - so checkout that the replace will work for you.
    Well hope that helps you - I managed to reduce the page load times dramatically and now I can actually consider using iWeb for generating pages for my family in Australia who are still on 56Kbit modems and don't have broadband available.
    Cheers
    Jason

    http://www.websiteoptimization.com/services/analyze/wso.php?url=http://www.nmrtubes.com/
    Your entire home page is made entirely from
    images.....consider using some
    use of CSS and background colour, minimal graphics and some
    actual text, and
    you'll be a long way better off.
    Brendon
    "s.joy" <[email protected]> wrote in message
    news:ejfvjp$j0c$[email protected]..
    >I had posted this a couple days ago, but then wasn't
    available to check in
    > until now...so I'm reposting and this time I included my
    web address!
    >
    > Does anyone know how to make pages load faster? My page
    loads
    > incrementally at
    > the moment. The only images on my home page are .gifs so
    I'm wondering why
    > it
    > still comes in choppy when the files are so small. The
    address is
    > www.nmrtubes.com
    >

  • Firefox 7.0.1 Page Load forever

    Hi
    My Os : windows 7 ultimate sp1 (new installation)
    Firefox 7.0.1
    Add-on:
    IDM CC
    Real -Debrid
    flash player
    showkwave
    java
    sliverlight
    the problem :
    when i brows internet Surprisingly the internet stop working and page load forever even if i open new tabs same thing no website working the page load and load ...i need to restart Firefox every time when i face this problem
    first i think this is my my laptop or connection problem but i try fresh install for windows 7 and same problem again
    also i check my connection it's ok and when the problem happening i tried open IE and google Chrome the internet working good and the page load normally also another apps using internet like messenger working fine
    the problem usually happening when i open Gmail or Google images with multi tabs i think but I'm not sure ..
    plz find the Solution for this problem in next update or tell me how to fix it

    -> [[Firefox never finishes loading certain websites#w_lower-the-max-number-of-http-connections|Lower the max number of HTTP Connections]]
    Check and tell if its working.

  • Execute javascript on page load

    All,
    I have a javascript working well on click button via javascript:html_Submit_Progress(this) but now i want to use the same code to execute onload page can somebody help me with the necessary change on this code please to make it work whenever the page loads,
    function html_Submit_Progress(pThis){ 
         $x_Show('AjaxLoading');
         window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
         doSubmit('APPLY_CHANGES');
         function submit_HideAll(pThis){ 
         $x_Hide('wwvFlowForm');
         doSubmit('APPLY_CHANGES');
         function submit_ButtonRegion(pThis){ 
         $x_Hide('button_region');
         doSubmit('APPLY_CHANGES');
    ..appreciated in advance.

    So I assume your code in PageLoad looks something like this?
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    doSubmit('APPLY_CHANGES');Don't put the doSubmit call in page load. That will cause a submit, then the page loads again, submits again as a result of being called on page load, etc. and that's why you're looping over and over...every time the page loads you're submitting again.
    I would instead do this.
    1. Make a function somewhere on your page wherever appropriate:
    function html_Progress(pSubmit){
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    if(pSubmit)
      apex.submit(pSubmit); //doSubmit is "old"...apex.submit is the new Apex 4 way of submitting
    } 2. In page load DA do this:
    html_Progress();
    3. Anywhere else you need it called and submitted too:
    html_Progress('APPLY_CHANGES');
    In other words, if the caller doesn't pass anything for pSubmit, don't submit. (This would be in a page load context.)
    If the caller does pass something for pSubmit, then submit. (This is likely to be pressing the Apply Changes button or whatever else.)
    Edited by: gti_matt on Sep 26, 2012 1:31 PM

  • Execute javascript on page loading?

    i want a javascript function to execute on page loading. it should set the local user name ( from system.properties) in an inputtext.
    how can i do this?

    You can't. It would be a huge security hole otherwise.
    In a certain web browser developed by some team in Redmond you can use ActiveX, but that thing would by default popup a security dialogue asking the user for permission to get it.
    Forget about it. Rather consider an application which runs at the client machine, e.g. a signed Applet or Web Start Application.

  • Hmm...Disable Javascript = fast page loads, but...

    ...it kills the "Full Text Editor" from loading. And since the link for composing a message in HTML  is wrapped in the Javascripted F.T.E., I can't access it, either.
    I just had the fleeting idea to try disabling Java, and then Javascript (and then both) in my browser (Firefox 3.0.x on Mac OS X 10.4.11) to see what would happen.
    SUMMON-A-MITCH!!! The pages load almost as fast as they used to in the WebX forums.
    Too bad it kills my ability to also participate.

    Phos±,
    Is it possible to read the web pages and participate only by posting through email?  Just thinking out loud…

  • Download page loads forever.

    Hi, I am trying to download a trial of adobe photoshop and the page just keeps loading like that forever. Can anyone help?

    I have several options, though your further investigation will determine the problem:
    Changing your router number most time works & it's all you have to do.
    System Preferences>Network
    Click the Assist Me button.
    In the next window that pops up, click the Diagnostic button & do the necessary.
    See KB Articles:  http://support.apple.com/kb/HT1401AirPort troubleshooting guide
    http://support.apple.com/kb/HT2712 Using network locations in Mac OS X
    Manually provided DNS server addresses are higher priority than DHCP's
    http://support.apple.com/kb/HT1714 Solutions for connecting to the Internet, setting up a small network, andtroubleshooting
    ============================
    Also, run the Airport Utility app which is located inside the Utilities folder.
    =====================
    If using a  Linksys router, contact LinkSys Customer Supportand/or post in their forums.
    If using Apple's Airport, please re-post over in one of theAirPort Forums.

  • If I don`t reload pages, a blank screen appears with the page loading forever, since I updated to firefox 6.

    I already tried cleaning cache, cookies and registry. I disabled add-ons. I deleted data trash. Virus scan with MS security essentials. Called Internet company to check connection. Had to get a new modem and router, but the problem persists. No problems though when using Internet Explorer.
    It doesn`t happen always and with every webpage. Sometimes it happens with MS hotmail, sometimes not.
    As soon as I reload the page that didn`t load the first time, the page comes usually up at once.

    I already tried cleaning cache, cookies and registry. I disabled add-ons. I deleted data trash. Virus scan with MS security essentials. Called Internet company to check connection. Had to get a new modem and router, but the problem persists. No problems though when using Internet Explorer.
    It doesn`t happen always and with every webpage. Sometimes it happens with MS hotmail, sometimes not.
    As soon as I reload the page that didn`t load the first time, the page comes usually up at once.

  • I need faster page loads

    Does anyone know how to make pages load faster? My page loads
    incrementally at the moment. The only images on my home page are
    .gifs so I'm wondering why it still comes in choppy when the files
    are so small.

    Just because an image is a GIF doesn't mean it is also
    small....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "s.joyful" <[email protected]> wrote in
    message
    news:eisp7k$ism$[email protected]..
    > Does anyone know how to make pages load faster? My page
    loads
    > incrementally at
    > the moment. The only images on my home page are .gifs so
    I'm wondering
    > why it
    > still comes in choppy when the files are so small.
    >

  • Can you make a DIV appear/fade on page load instead of the listed events?

    Does anyone know if there's a way to have a specific DIV fade
    in when the page loads? I know how to do it with a click or mouse
    over, but the behavior panel won't let me change the event to
    onLoad. It says that's an invalid event for the DIV tag. I found a
    javascript code that makes the DIV appear when the page loads and
    it work...until I tried to add other Spry behaviors. Then it
    refused to fade in. I can provide that code if it helps.
    Thanks!

    Thanks for the speedy response. But your answer went right
    over my head. I'm using Dreamweaver and a complete novice in
    javascript or coding...for now. (But I'm taking classes, so there'
    hope for me yet.)
    When you say "use SpryDOMUtils.js" is that a script I need to
    find, reference, load?
    Maybe I should post this question on the Dreamweaver since
    I'm so ignorant about coding?

  • Why does it load forever when I right click in pages 09?

    When I am typing a text and then decide to right click in it for example : when I want to see the suggest correction of a word, it just starts to load forever, you know with the little ball spinning whith rainbow colors. It's just annoying because I have to restart the app every time it happens and it happens a often (like every single time I right click). Please help !
    Thanks
    MacBook Pro 2.3 GHz 8 Gb of ram nVidia Geforce 650M

    I found what was going on ... my mistake ... I am using Antidote an app that I use to crrect my french and this app was not up to date, so it was freezing iwork every single time that I try to make a right click (which is use to correct the words)
    Now every thing works fine I'll know for next time

  • URL of the current portal page loaded using Javascript ?

    Hello:
    I am trying to add programmatically the url of the current
    page loaded in the portal to the 'Favorites List'. There
    is a pre-built KM iview to store your 'favorites'.
    I can extract and write to this 'favorites' using KM java
    API. But only challenge is to extract the current loaded
    page URL and title using Javascript.
    I would appreciate any help in this regard.
    Thank you very much,
    Prasad Nutalapati

    Dude i was having the exact same problem. I solved it using the SAP-provided EPCM (javascript client framework).
    Javascript Code
    var pageName = "";
    var URL = "";
    function bookmarkPage()
         /* page url */
         var fullURL = "https://<%=request.getServerName()%>/irj/portal?NavigationTarget=" + URL;
         /* IE bookmark */
         if(EPCM.getUAType() == EPCM.MSIE)
              window.external.AddFavorite(fullURL , pageName);
         else
              var msg = "Sorry. The \"Add To Favorites\" feature only works with Internet Explorer. " +
                          "The URL to this page is " + fullURL;
              alert(msg);
    /* get pagename from eventObject from subscribed event */
    function getPageObject(eventObj) {
        pageName = eventObj.dataObject.title;
        URL = eventObj.dataObject.URL;
    /* subscribe to event in pagetoolbar area */
    EPCM.subscribeEvent("urn:com.sapportals:navigation", "AddNavTargetAllowDuplicate", getPageObject);
    End of code
    Basically, what this does is that everytime a page loads, the innerpage, where the content is, raises an event using  the EPCM.raiseEvent() method. EPCM.subscribeEvent subscribes to an event called AddNavTargetAllowDuplicate which has an object holding the page information (i.e. page title and URL (ROLE://...)). Everytime that it notices an event raised, the function getPageObject gets called to go get data from the event object that is available globally in the framework.
    You should be able to put this code anywhere in any iview and it should work. Thou i have only tried putting it in the masthead. Try and if you still have questions please let me know.

  • Double Page Load on call javascript method

    I have implemented a tree component(which I have the folders). When I clic on the tree I have to expand or close it, so I have implemented a javascript method on clic:
    <af:tree value="#{bindings.OpcionesPadreView1.treeModel}" var="node"
    rowSelection="single" id="t1"
    partialTriggers=":::cbNuevCpta :::dlCfr"
    selectionListener="#{pageFlowScope.GestionDocumentos.buscarDocumentos_SelectionListener}">
    <af:clientListener method="expandTree" type="click"/>
    <f:facet name="nodeStamp">
    <af:outputText value="#{node.Gesdopcach}" id="otOpc"/>
    </f:facet>
    </af:tree>
    <af:table value="#{bindings.ArchivosView.collectionModel}" var="row"
    rows="#{bindings.ArchivosView.rangeSize}"
    rowBandingInterval="0" id="tArch" shortDesc="Documentos"
    partialTriggers=":::dlCfr :::cbOk ::t1"
    disableColumnReordering="true"
    binding="#{pageFlowScope.GestionDocumentos.tarch}">
    </af:table
    I also need a selectionListener on Java, because When I clic on the tree( that are folders), I have to bring the documents according to the folder selected into the table, so I have implemented this:
    public void buscarDocumentos_SelectionListener(SelectionEvent selectionEvent) {
    String codigoOpcion = null;
    RichTree tree = (RichTree)selectionEvent.getSource();
    RowKeySet rowKeySet = selectionEvent.getAddedSet();
    Iterator rksIterator = rowKeySet.iterator();
    while (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    CollectionModel collectionModel = (CollectionModel)tree.getValue();
    JUCtrlHierBinding treeBinding = (JUCtrlHierBinding)collectionModel.getWrappedData();
    JUCtrlHierNodeBinding nodeBinding = treeBinding.findNodeByKeyPath(key);
    Object[] atributeValues = nodeBinding.getRow().getAttributeValues();
    codigoOpcion = (String)atributeValues[0];
    Map params = new HashMap();
    params.put("PV_CODREF",codigoOpcion);
    params.put("PV_CODROL", LoginBean.getUser().getRolActual());
    Map permisos = new HashMap();
    permisos.put("PV_CODOPC",codigoOpcion);
    permisos.put("PV_CODROL",LoginBean.getUser().getRolActual());
    executeOperationBinding(EXECUTE_FILES, params);
    executeOperationBinding(EXECUTE_PERMISOS, permisos);
    The problem I have is that when I clic on the folder in the tree, the table is fetching the documents twice(like a doble page load). This doesn't happen when my clientListener is of type "selection", but with "selection" I have problems to close the tree.

    Here is an example, let me know if it needs explanation.
    Private Sub RSWVBAPage_afterPlay()
    Dim doc As HTMLDocument
    Set doc = RSWApp.om.GetTopDocument
    doc.parentWindow.execScript "MyJavascriptFunction();", "javascript"
    Set doc = Nothing
    End Sub

  • Browser pages take forever to load

    Every time I open Safari or Firefox, the pages take forever to load.  I keep getting the color wheel and often have to force quit.  I don't think it's the internet signal because I've tried it in 2 different locations (home and work) and the results are the same.  I can't load videos (like those on Hulu).  My computer memory is about half full, so I don't think it's that.  This is a recent problem (within the last week).  Any suggestions?

    See if this FAQ will help: http://www.thexlab.com/faqs/sbbod.html

  • Javascript in 'Execute when page loads', not working when paging results grid

    I have some Javascript in an Apex page, running in 'Execute when page loads'. It does some stuff to a results grid. It works fine on page load, but then doesn't run when I page through, or sort the grid. I presume this is because the grid is being sorted / paged using Ajax, which means the page isn't being fully loaded.
    Is there anywhere else I can put the code so it gets applied to the grid on sorts and paging?

    Thanks, works perfectly! I used the After Refresh and just selected the region I wanted to trigger the Javascript, and it works great. As you say the scope needs to be Dynamic.
    For anyone else reading this, something which caught me out was that my reports region was using the No Template setting, and the Dynamic Action didn't work, as it requires you to use a template which contains #REGION_STATIC_ID# - which is used by the dynamic action to identify the region. Once I switched to using a template, it worked fine.

Maybe you are looking for

  • Can't get printer to create e-mail address

    I have a new 6500a printer at home.  It is hooked up to ethernet and the internet.  I can print to it from the PC's on my network and it is on the internet because I can access my google documents through the apps screen.  It fails to create an e-mai

  • Hp pavilion dv7 hard drive issues

    I have an HP Pavillion dv7 Notebook PC(product number: XG834UA#ABA) that is currently displaying an "imminent failure" warning in the form of a SMART hard disk error (Hard Disk 301). I ran a Primary Hard Disk Self Test where it passed both Quick and

  • Reminder Mail for PO/PR approval

    Hi Experts, For PO/PR approval, one mail is sent to respective person. If the approval/reject activity is not done then one reminder mail should go after 24 hrs and after 48 hrs the PO/PR is required to approve automatically but the hours should cons

  • PPro 5.0.2 update works OK for Me

    I'm writing this after reading about problems some people are having with the PPro 5.0.2 update http://forums.adobe.com/thread/652694?tstart=0 has a link to what I built for CS5... I am using the 197.45 nVidia driver for my GTX 285 I edit AVCHD from

  • I Need Use the USB port and CDROM from iManager

    Originally Posted by AndersG Crsven, > Now, I need access through of imanager the CD-ROM or the USB (Pen > Drive) and I don't see, I don't access, pls, how I can see they. Not sure what you want? What do you want to do with CD/USB in iMAnager? - Ande