Spry.Utils.loadURL problem with IE7

Hello there. First of all sorry for my english.
I have a problem with Spry.Utils.loadURL function in Internet
Explorer 7 only. In firefox works fine.
So i have an asp file that returns a string with some stuff.
I load this asp file with Spry.Utils.loadURL like this.
function ReLoadExtras() {
var req = Spry.Utils.loadURL("GET",
"ControlExtras.asp?type=get&id=50", true, MySuccessCallback);
function MySuccessCallback(req) {
Spry.Utils.setInnerHTML('Extralist',
req.xhRequest.responseText);
In interner explorer works fine only at the first page load.
I have a button that fires the ReLoadExtras() function. But if i
hit it again to reload the div's content return nothing or returns
the same string. The string that ASP file returns is a value from
database but if i change this value on the database and hit the
button again i get the previus value. I think that something is
going wrong with the internet explorer's cache. I'm going crazy
because in firefox works without any problem.
Anynone who can help :-)

Finally i fixed this problem. The problem was Internet
Explorer's cache. Every time that i call the asp file i have to
make the url unique. So i create a function that creates a unique
url.
function ReLoadExtras() {
var url =
"ControlExtras.asp?ControlExtras.asp?type=get&id=50";
var req = Spry.Utils.loadURL("GET", MakeUniqueQuery(url),
true, MySuccessCallback);
function MySuccessCallback(req) {
Spry.Utils.setInnerHTML('Extralist',
req.xhRequest.responseText);
function MakeUniqueQuery(x) {
var temp = Math.random() * 3;
var tempurl = x + "&sid=" + temp;
return tempurl;
}

Similar Messages

  • Another SPRY horizontal menu problem with IE7

    I posted this before, with no responses, but I think
    I've narrowed it down to a CSS response problem with IE7.0. If you
    view the attached link in Firefox or Opera, the menu background
    color responds correctly on the drop downs. In IE7, the
    background-color is ignored, causing the menu to be translucent
    and, uh, ugly. Has anyone else had an issue with the
    background-color CSS attribute in the SPRY horizontal menu css not
    working?
    HELLLLLP! and, uh, Thanks,
    Karl
    Prototype
    link using spry, css, ajax sprites and other magic.

    >>
    Regrettably, the silence from the forum has been deafening.
    I'm not sure if folks are just wary of SPRY and AJAX issues right
    now because they're so new or if it's the summer heat
    >>
    guess it´s all of that :-) But folks visiting these more
    "general" Dreamweaver forums are not necessarily Spry experts
    respectively might not even be interested in that -- you´ll
    certainly get more response when posting Spry related questions in
    the
    Spry
    forums @ Adobe Labs

  • Spry.Utils.loadURL problem

    I'm having trouble with the last parameter of
    Spry.Utils.loadURL.
    I know I need more info in the last argument but I cannot
    find good documentation on this. I can work out how to do it with
    form data, but not with data passed as a simple variable parameter.
    ANY help appreciated!
    In the code snippet below I am trying to pass a value to
    Spry.Utils.loadURL that will them be passed to resfunc as request.
    But I cannot work out how to do this.
    The function that calls Spry.Utils.loadURL works ok., I test
    that it is receiving the correct value by using alert(value). But
    how do I get this value into the argument list of
    Spry.Utils.loadURL so I can display it?
    function doFormPost(url,photoId,resfunc) {
    formData = encodeURI(photoId);
    Spry.Utils.loadURL('POST', url, true, resfunc,
    {"Content-Type": "application/x-www-form-urlencoded;
    charset=UTF-8"});
    function resFunc(request) {
    var mydiv = document.getElementById("foo");
    var result = request.xhRequest.responseText;
    $("result").innerHTML = "Result was: " + result ;
    mydiv.innerHTML = result;
    function HandleThumbnailClick(id, photoId)
    StopSlideShow();
    doFormPost('moon.cfm', photoId,resFunc);
    dsPhotos.setCurrentRow(id);
    ShowCurrentImage();

    Hi Kate,
    I think what you are trying to do is this:
    function doFormPost(url,photoId,resfunc) {
    // URL encode the photoId value.
    formData = encodeURI(photoId);
    // Build the headers object *outside* of the loadURL call to
    reduce *visual* confusion.
    // All we want to do here is to make sure that when we make
    the request, that the browser also
    // tell the server that the data we are sending in postData
    is url encoded.
    headers = {};
    headers['Content-Type'] = "application/x-www-form-urlencoded;
    charset=UTF-8";
    // Send the post request, making sure to pass the content
    type header and formData in the options object.
    Spry.Utils.loadURL('POST', url, true, resfunc, { headers :
    headers, postData: formData });
    The 5th argument loadURL is an options object. You can
    specify the named properties on this object that you want, for
    example "headers" and "postData". The names of the option
    properties you can specify are:
    username - String that specifies the username on the server
    to use when making the request.
    password - String that specifies the password to use when
    making the request.
    postData - URL encoded string of name value pairs. Used when
    the request is made with "POST".
    errorCallback - Function to call if an error comes back from
    the server after the request is made.
    headers - Object that allows the caller to send additional
    HTTP headers with the request. The properties on this object are
    the named after the HTTP property. The value for the property is
    the value to send. For example if you wanted to send this HTTP
    property as part of the request header:
    Content-Type: application/x-www-form-urlencoded;
    charset=UTF-8
    You would add this to your options object:
    headers: { "Content-Type":
    "application/x-www-form-urlencoded; charset=UTF-8 }
    userData - This is anything you want to pass into loadURL. It
    will be stored on the request object so that when your
    successCallback/errorCallback is triggered, you can access it. For
    example:
    var myString = "This is a test!";
    function myCallback(request)
    alert(request.userData); // Alerts with the string "This is
    a test!"
    Spry.Utils.loadURL("POST", url, true, myCallback, { headers:
    headers, postData: formData, userData: myString });
    I realize this is annoying that it isn't documented
    extensively. We are working on it.
    --== Kin ==--

  • Spry.Utils.loadURL - IE7

    I built a pre-loader that uses loadURL to complete 35 tasks.
    After a task completes it updates the screen asynchronously with
    the % completed. It works in Firefox every time, but always fails
    in IE7 at 84%. In other words, after a specific amount of time IE7
    seems to bail. When IE7 bails all unfinished tasks trigger the
    error callback, but req.xhRequest.statusText is empty.
    For the sake of debugging all tasks are the same. If I reduce
    the number of tasks it will complete in IE7.
    So it seems quite clear there are no specific code issues.
    The debugger shows no errors. Basically, in IE7 after a certain
    amount of time the connections are just lost.
    I have such a huge time investment in this software that this
    is a huge nightmare. I didn't notice the problem until after
    everything was done.
    Does any know if there is a client side timeout in IE7? Its
    seems that is what is happening. I would appreciate to hear anyones
    ideas.

    This is what my test case looks like:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>LoadURL Test 01</title>
    <link href="../samples.css" rel="stylesheet"
    type="text/css" /><br />
    <script type="text/javascript"
    src="../../Spry/includes/xpath.js"></script>
    <script type="text/javascript"
    src="../../Spry/includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsStates = new
    Spry.Data.XMLDataSet("../../Spry/data/states/states.xml",
    "/states/state");
    function DoTest()
    var context = new Object;
    context.data = dsStates.getData();
    context.index = -1;
    LoadNextURL(context);
    var gLock = 0;
    function LoadNextURL(context)
    var rowIndex = ++context.index;
    var count = context.data.length;
    var row = context.data[ rowIndex ];
    if (rowIndex >= count)
    Spry.$("status").innerHTML = "Done";
    return;
    var url = "../../Spry/data/states/" + row.url;
    Spry.$("status").innerHTML = "Loading (" + (rowIndex + 1) +
    " of " + count +") " + url + " ...";
    if (gLock)
    Spry.Debug.trace("WARNING: Re-entering lock! " + gLock);
    ++gLock;
    if (Spry.$("forceAsync").checked)
    setTimeout(function() { Spry.Utils.loadURL("GET", url, true,
    LoadCallback, { userData: context, errorCallback: LoadErrorCallback
    }); }, 0);
    else
    Spry.Utils.loadURL("GET", url, true, LoadCallback, {
    userData: context, errorCallback: LoadErrorCallback });
    --gLock;
    function UpdateProgressBar(percent)
    var ele = Spry.$("progressBar");
    var width = ele.offsetWidth * percent;
    ele.getElementsByTagName("*")[ 0 ].style.width = percent +
    function LoadCallback(req)
    var context = req.userData;
    var currentIndex = context.index;
    var count = context.data.length;
    UpdateProgressBar(((currentIndex+1) / count) * 100);
    LoadNextURL(context);
    function LoadErrorCallback(req)
    var context = req.userData;
    Spry.$("errors").innerHTML += "Failed to load " +
    context.data[ context.index ].url + "<br />";
    LoadNextURL(context);
    </script>
    <style type="text/css">
    .ProgressBar {
    width: 200px;
    height: 16px;
    border: solid 1px black;
    padding: 0px;
    position: relative;
    margin: 4px;
    overflow: hidden;
    .ProgressBarStatus {
    position: absolute;
    height: 16px;
    width: 0px;
    background-color: #3399FF;
    </style>
    </head>
    <body>
    <div spry:region="dsStates">
    <p spry:state="loading">Loading states.xml file
    ...</p>
    <div spry:state="ready">
    <p>Total of {ds_RowCount} rows loaded. <input
    type="button" value="Start Test" onclick="DoTest();" />
    <label>Force Async Requests: <input type="checkbox"
    id="forceAsync" /></label></p>
    <div id="progressBar" class="ProgressBar"><div
    class="ProgressBarStatus"></div></div>
    <div id="status"></div>
    </div>
    <div>
    <p id="errors"></p>
    </div>
    </div>
    </body>
    </html>
    --== Kin ==--

  • Spry.Utils.loadURL headers problem

    I am posting a request with the loadURL function.
    I am getting two values from a form :
    - a WYSIWYG texarea editor which id is 'elm1'
    - an input text field 'contentfilename'
    In my textarea, I wrote a phone number that have the
    following cars : +33
    My PHP script that receive the posted data ($_POST variables)
    don't receive the '+' cars.
    Why is that ??
    Here is my save function :
    function saveEditorContent() {
    var dataString = "elm1="+
    tinyMCE.getInstanceById('elm1').getHTML()
    + "&contentfilename=" +
    document.getElementById('contentfilename').value
    var options = {
    postData: dataString,
    headers: {"Content-Type":
    "application/x-www-form-urlencoded; charset=ISO-8859-1" },
    errorCallback: saveEditorError
    var url = "editorAction.php?action=savecontenteditor";
    var req = Spry.Utils.loadURL( "POST", url, true,
    saveEditorSucess,options );
    removeMCE('elm1');
    spEditor.showPanel( 2 ) ;
    function saveEditorSucess(req) {
    Spry.Utils.setInnerHTML('statusMessageBox',
    'SUCCESS<br/>'+req.xhRequest.responseText );
    Thank you
    Corentin

    Hello,
    You miss a step in this code. You'll have to URI encode every
    value you will send to the browser. In your situation the + in the
    phone has a special meaning in the URI encoding and will be treated
    as a blank space.
    Please modify the following line:
    var dataString = "elm1="+
    tinyMCE.getInstanceById('elm1').getHTML()
    + "&contentfilename=" +
    document.getElementById('contentfilename').value
    with this one:
    var dataString = "elm1="+
    encodeURIComponent(tinyMCE.getInstanceById('elm1').getHTML())
    + "&contentfilename=" +
    encodeURIComponent(document.getElementById('contentfilename').value);
    Regards,
    Cristian

  • Spry.Utils.loadURL  userData

    is it possible (and how) to get the userData property back to
    my success-script?
    Spry.Utils.loadURL("GET",
    "/updater.cfm?"+formfield+"="+encodeURIComponent(fieldcontent),
    false, checkstatus, {userData: "4711"});
    function checkstatus(request) {
    var fieldcontent = request.xhRequest.responseText;
    var userdata = ?????
    herbert

    Hi Kate,
    I'm guessing this is related to your validation function
    post, so I'm going to give an example with that assumption:
    function MyValidationFunction(value, options)
    // Call loadURL() to validate the username synchronously.
    Notice
    // that I passed a false for the 3rd arg to force the
    request to be
    // processed synchronously.
    var request = Spry.Utils.loadURL("POST",
    "userExists.cfm?name=" + encodeURIComponent(value), false);
    // The assumption here is that the server is going to reply
    // with the word "true" (Content-Type: text/plain) if the
    name
    // already exists, or "false" if it doesn't already exist.
    If
    // you want to get fancy and return a response wrapped in
    XML,
    // or some other format, you'll have to parse it out
    yourself.
    // Since this validation function needs to return "true" if
    the
    // name doesn't exist, we need to make sure we don't get a
    "true" value back!
    return request.xhRequest.responseText != "true";
    --== Kin ==--

  • Canceling  Spry.Utils.loadURL request

    Hi, i have posted a thread a few days ago concerning variables and Spry.Utils.loadURL and i wish to thank V1 i for the solution.
    Now i wish to ask is it possible to cancel (or ignore) Spry.Utils.loadURL request while it is running.
    By canceling i mean not the server side code, but the Spry.Utils.loadURL request.
    Here is example of the problem:
    I have some button that sens requests to the server. It is up to the complexity of every request how long it will take to responde (sometimes a minute).
    So it is sometimes the case when a user sends some request and without waiting for the result sends another one.
    Now i have multiple requests running in paralell and due to their asynchronous behaviour i do not know which one will display first (they use asame update panel).
    So it will be good if i can tell the Spry.Utils.loadURL to cancel the "thread" he is running and only after that to start the new one.
    Parallel possible solutions are disabling the button until the request responds, which is my very last undesired solution since i do not want to tye the users hand ....
    Best regards:
    Venelin

    Spry.Utils.loadURL returns Spry's request object, so you could use that to cancel the running XHR request.
    example;
    var request = Spry.Utils.loadURL('GET','url.php',callback,true);
    // abort the request:
    request.xhRequest.abort();

  • Spry.Utils.loadURL Check Inet Connection

    We have a customer that uses a flakie internet connection
    (GPRS Connection). I'm trying to use spry to see if the connection
    has dropped, then display a DIV tag in their current webpage. I
    think you can do it with the "errorCallback" but I can't seem to
    get it to work.
    Any suggestions, or should I use a different function?
    quote:
    ---- PseudoCode ----
    <!-- Loop the below code every 30 seconds to check for a
    connection -->
    function MySuccessCallback(req)
    item.style.display = "none";
    function MyErrorCallback(req)
    // Display error message on screen.
    item.style.display = " ";
    var req = Spry.Utils.loadURL("GET", "
    http://myserver/mypage.cfm",
    true, MySuccessCallback, { errorCallback: MyErrorCallback });

    This worked for me in IE, but throws an error in Firefox when
    the internet connection fails.
    Firefox Error:
    quote:
    [Exception... "Component returned failure code: 0x80040111
    (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult:
    "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
    http://myserver/myfolder/1.3/includes/SpryData.js
    :: anonymous :: line 123" data: no]
    http://myserver/myfolder/1.3/includes/SpryData.js
    Line 123
    Code works in IE:
    quote:
    function doLoad(){
    setTimeout( "autorefresh()",
    <cfoutput>#session.metarefresh#</cfoutput>*1000 );
    function autorefresh(){
    var ts = new Date();
    var pageLoad = 'menu.cfm?' + ts;
    var req = Spry.Utils.loadURL("GET", pageLoad, true,
    MySuccessCallback, { errorCallback: MyErrorCallback });
    doLoad();
    function MySuccessCallback(req){
    ID = document.getElementById('iConnection');
    ID.style.display = "none";
    function MyErrorCallback(req){
    ID = document.getElementById('iConnection');
    ID.style.display = "";
    <span id="iConnection" style="display:none;">Internet
    Connection Down</span>

  • Spry.Utils.loadURL(... failure

    This code works properly in local:
    var request_URL
    ="/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+uPass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    Once I upload, I add "
    http://wconti.com... :
    var request_URL ="
    http://wconti.com/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+u Pass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    I get the following error:
    Exception caught while loading
    http://wconti.com/petitions/client/remote/authenticate.cfm?username=contiw&password=italia :
    The download of the specified resource has failed.
    Just starting with Spry, please bear with me.
    Thank You

    This code works properly in local:
    var request_URL
    ="/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+uPass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    Once I upload, I add "
    http://wconti.com... :
    var request_URL ="
    http://wconti.com/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+u Pass;
    Spry.Utils.loadURL("GET", request_URL, false, authBack);
    I get the following error:
    Exception caught while loading
    http://wconti.com/petitions/client/remote/authenticate.cfm?username=contiw&password=italia :
    The download of the specified resource has failed.
    Just starting with Spry, please bear with me.
    Thank You

  • Spry.Utils.LoadURL Help

    I've set up a form:
    <form>
    <input id="question" type="hidden">
    <input id="answer" type="text" onblur="checkAnswer();">
    <span id="response"></span>
    <input id="submit" type="button" value="submit">
    </form>
    using spry.utils.loadurl successfully pass the question and
    answer to a php page that verifies that the question and the answer
    are found in the database... it then returns a "Valid answer" or
    "invalid answer" to the span below the form.
    it is successfully returning the correct response...but it
    doesn't prevent the user from submitting the form...any
    ideas?

    I've set up a form:
    <form>
    <input id="question" type="hidden">
    <input id="answer" type="text" onblur="checkAnswer();">
    <span id="response"></span>
    <input id="submit" type="button" value="submit">
    </form>
    using spry.utils.loadurl successfully pass the question and
    answer to a php page that verifies that the question and the answer
    are found in the database... it then returns a "Valid answer" or
    "invalid answer" to the span below the form.
    it is successfully returning the correct response...but it
    doesn't prevent the user from submitting the form...any
    ideas?

  • HP Smart Web Printing feature, problem with IE7 and FireFox3

    "HP Smart Web Printing" problem with Internet Explorer 7 and FireFox 3I have a laptop that came with: Windows Vista Home Premium, Internet Explorer 7, FireFox 1.9. Everything worked fine.
    Recently I bought a "HP Photosmart C4580 All-in-One" printer that came with a free software "HP Smart Web Printing".
    Smart Web Printing worked fine with FireFox 1.9 browser. I liked it very much, because with it, I could print only the portions from the web page that I want, thus saving on inks. It really does more than that.
    With IE 7, Smart Web Printing was a disaster. IE 7 stopped working. Every time I closed a web browser window, IE7 would stop working and start all over again. It happened all the time.
    On suggestion from Microsoft Windows help desk I "Reset IE Setting". This solved the IE 7 problem , but it also removed the Smart Web Printing feature.
    Next, one day I downloaded latest version of FireFox browser "FireFox 3". Once again I lost the Smart Web Printing Feature, because it was not compatible with FireFox 3.
     Now here I am with no "Smart Web Printing" feature at all.
     Any suggestion how can I get "Smart Web Printing" feature back. I love the feature
    Thanks

    March 27th 2009 I've just downloaded HP Smart Web Print onto an HP a6500f desktop system running Vista-64.  I first installed it as a limited user and I get no icon in the IE7 taskbar.  I examined the manage add-ons dialog and it was installed but the toolbar configuration has no control icon for SWP icon.
    Then I logged off and logged on as a privileged user and downloaded again and tried to install.  This 2nd installation actually REMOVED my first installation.
    So I then downloaded for a third time and installed and it finished installing but there was no SWP icon in the tool bar.  I examined the Manage Add-Ons dialog and saw one in there on the left side.  I transfered the inactive icon to the active side of the dialog and then I immediately had TWO SWP icons in the task bar. (*mumble grumble*).  So I removed one and all is OK now as long as I use the IE7 as a privileged user. 
    If I go back to being a limited user (not an unreasonable thing to do is it?) I don't have an SWP icon.  Trying to install SWP application again only cause it to want to remove the existing installation.
    I'm not very impressed with this behavior. 
    Is there anything that can be done to get SWP to work for limited users?

  • Disk Utility 13 problem with USB drives

    There appears to be a problem with Disk Utility 13 (part of OS X 10.9). At least, so far as I can tell, everything traces back to this app, or possibly OS X 10.9 itself.
    I recently upgraded my MacBook Air to OS X 10.9 (reformatted hard drive, installed system from scratch, updated with all the latest Apple updates). I pre-checked all my third party software to make sure it was 10.9 compatible before installing it after the system cleanup, so everything I’m running supposedly has been approved as safe for 10.9. But I’m seeing a problem formatting USB drives that I do not encounter when running under 10.8.
    I have a Seagate STAA500101 (“FreeAgent GoFlex”) drive connected via Seagate’s USB3 adapter that I’ve used for some time as a Time Machine backup. Post-overhaul, I decided to erase the backup and start fresh. When I attempt to format it (single GUID partition) with Disk Utility, I see the following messages go by:
    Formatting disk1s2 as Mac OS Extended (Journaled) with name Untitled 1
    Could not mount disk1s2 with name (null) after erase
    Then there’s a pause, and the format appears to conclude fine. But if I run a “Verify Disk” immediately, I get this:
    Verifying partition map for “Seagate FreeAgent GoFlex Media”
    Checking prerequisites
    Checking the partition list
    Checking for an EFI system partition
    Checking the EFI system partition’s size
    Checking the EFI system partition’s file system
    Checking all HFS data partition loader spaces
    Volume  on disk1s2 has 0 bytes of trailing loader space and it needs 134217728 bytes
    Problems were found with the partition map which might prevent booting
    Error: Partition map needs repair because a data partition needs loader space.
    As the drive has just been formatted, that seemed odd. I took it over to another Mac still running 10.8.5 and formatted it there — it worked just fine. Verified just fine. Took the drive back to my MacBook Air and tried to verify the disk — same failure.
    I wanted to rule out bad media, so I took a Lexar 16GB USB flash drive and tried to format it with Disk Utility 13 — got the same problem.
    The only success I’ve had formatting USB drives under 10.9 is to boot up into OS X Recovery. Disk Utility there formatted my Seagate drive without an error. But once I booted back into normal 10.9 operating mode, the drive once again fails to verify; it makes me leery about using it as a Time Machine backup.
    I suppose it’s possible there could be some background component like Sophos causing problems when formatting drives, but if I format a drive via OS X Recovery or another Mac under 10.8, that wouldn’t explain why the drives fail to verify.
    Anyone got any other observations on this issue?

    Problem resolved. I'm posting this note for anyone else who might run into this situation and come across this discussion.
    It actually did turn out to be Sophos -- Cloud, that is. I'd been using Sophos' free Mac antivirus software on a variety of systems but forgot that I was now testing out Sophos Cloud on my own MacBook, which is their new endpoint solution, and supposed to be compatible with OS X 10.9 (although the Mac version is listed as "beta") Sophos Cloud includes a new feature called Device Control which allows you to create a company-wide policy to control access to hardware such as USB drives, optical drives, etc. But apparently it's still pretty buggy. I had my Device Control configured with the default setting of "monitor but do not block" but it was most definitely gumming up the system. With Sophos Cloud installed, here's what happens if I try to run "Verify Disk" on any attached drive. Note on the left side how "disk2s2" shows as a sub-volume for each hard drive.
    So if I uninstall Sophos Cloud, reboot and rescan, here's what I get:
    Works fine. Note that the "disk2s2" subvolumes are also gone. This is the way Disk Utility also appears on a 10.8 or 10.9 system, even if you have the standard free Sophos for Mac software installed. It's only Sophos Cloud that's not playing nice. It also appears to have stopped me from being able to play DVDs from an attached Apple USB SuperDrive -- that problem was likewise solved by removing Sophos Cloud.

  • Spry Horizontal Menu problem in IE7

    Hello all,
    Just wondered if one can help with this problem?
    I have the horizontal manu bar pull down going across the
    page
    www.martinbleasby.co.uk
    The problem can be seen in the aircraft pulldown.
    Many thanks Martin.
    Here is a copy of my CSS file.
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - Revision: Spry Preview Release
    1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */
    LAYOUT INFORMATION: describes box model, positioning,
    z-order
    /* The outermost container of the Menu Bar, an auto width box
    with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    /* Set the active Menu Bar with this class, currently setting
    z-index to accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this
    container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 12pt;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 120px;
    float: left;
    font-family: Georgia, "Times New Roman", Times, serif;
    height: auto;
    /* Submenus should appear below their parent (top: 0) with a
    higher z-index, but they are initially off the left side of the
    screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 12px;
    z-index: 1020;
    cursor: default;
    position: absolute;
    left: -1000em;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #E4E4E4;
    background-color: #E4E4E4;
    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to auto so it comes onto the
    screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 8.2em;
    /* Submenus should appear slightly overlapping to the right
    (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text
    decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #969fa0;
    color: #E4E4E4;
    text-decoration: none;
    padding-top: 0.5em;
    padding-right: 0.75em;
    padding-bottom: 0.5em;
    padding-left: 0.75em;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 12px;
    /* Menu items that have mouse over or focus have a blue
    background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #696077;
    color: #FFF;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal
    a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal
    a.MenuBarSubmenuVisible
    background-color: #3D466D;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a
    given menu item
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a "hover"
    background image positioned on the far left (95%) and centered
    vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a "hover"
    background image positioned on the far left (95%) and centered
    vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;
    }

    What kind of problem are you having? I'm using IE 6 and don't
    see a problem. I was looking because I'm having a problem with the
    drop down getting scrambled and rendering as a horizontal structure
    sometimes and working right others.

  • FW 8 popup-menu in CSS problem with IE7 & Safari

    Hi,
    hope that anyone out there got some ideas in my issue. I was
    already searching the forum for advice, but couldn't find
    meaningful infos.
    Here is my problem:
    I designed a page in FW8 (Mac) with a nice popup-menu. I
    exported this thing into DW8 having set the option to export the
    menu as CSS and slices to layers. Then I rearranged the html File
    and included some editable regions, as it was to be used as an
    template.
    Everything works fine in Firefox but IE7 and Safari
    experience some problems.
    The popup-layers are displayed behind the main text-area and
    not in front of it - this makes navigation a bit complicated.
    So teh menu is displayed with text and everything, but behind
    the main text.
    What I tried:
    I tried to reset the z-Index of the popup-layers to values
    below 10 (were set to 500) - didn't help.
    I gave every single item a z-index - didn't help.
    I gave the main text area an z-index of 0 or -1 - made the
    layer disappear.
    I reexported the whole thing - made me just crazy.
    I worked through the css file for errors - maybe I'm not to
    good in CSS ;)
    I checked the forums, but could only find issues where the
    menu was not displayed at all or the text was missing - doesn't
    apply.
    -- no more ideas :(
    Link to my page:
    Website
    Link
    I really appreciate your help! Any comments welcome!
    patrick

    > I think it's a bug with ie7. It doesn't support
    javascript completely,
    > nor
    > does it css.
    I don't think this is accurate. Each browser supports things
    differently,
    and CSS is no exception, but support for javascript is fairly
    reliable
    across the board.
    > but I can't find one that I can use my own images, yet
    Then you are not looking in the right place. Go here -
    http://www.projectseven.com/
    and examine their extensive collection of menu products.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "udigrudi" <[email protected]> wrote in
    message
    news:ful3t7$n9u$[email protected]..
    > I've had a similar problem, menus made in Fireworks 8
    don't show up
    > completely
    > in ie7 for windows either. The menu shows up, but the
    text of submenus
    > with
    > submenus doesn't show up.
    >
    > I think it's a bug with ie7. It doesn't support
    javascript completely,
    > nor
    > does it css.
    >
    > Since your website has disappeared, I'm sorry I can't be
    of more help.
    > I'm
    > thinking of getting a "third party" submenu generator
    (but I can't find
    > one
    > that I can use my own images, yet)
    >

  • Java.util.logging - Problem with setting different Levels for each Handler

    Hello all,
    I am having issues setting up the java.util.logging system to use multiple handlers.
    I will paste the relevant code below, but basically I have 3 Handlers. One is a custom handler that opens a JOptionPane dialog with the specified error, the others are ConsoleHandler and FileHandler. I want Console and File to display ALL levels, and I want the custom handler to only display SEVERE levels.
    As it is now, all log levels are being displayed in the JOptionPane, and the Console is displaying duplicates.
    Here is the code that sets up the logger:
    logger = Logger.getLogger("lib.srr.applet");
    // I have tried both with and without the following statement          
    logger.setLevel(Level.ALL);
    // Log to file for all levels FINER and up
    FileHandler fh = new FileHandler("mylog.log");
    fh.setFormatter(new SimpleFormatter());
    fh.setLevel(Level.FINER);
    // Log to console for all levels FINER and up
    ConsoleHandler ch = new ConsoleHandler();
    ch.setLevel(Level.FINER);
    // Log SEVERE levels to the User, through a JOptionPane message dialog
    SRRUserAlertHandler uah = new SRRUserAlertHandler();
    uah.setLevel(Level.SEVERE);
    uah.setFormatter(new SRRUserAlertFormatter());
    // Add handlers
    logger.addHandler(fh);
    logger.addHandler(ch);
    logger.addHandler(uah);
    logger.info(fh.getLevel().toString() + " -- " + ch.getLevel().toString() + " -- " + uah.getLevel().toString());
    logger.info("Logger Initialized.");Both of those logger.info() calls displays to the SRRUserAlertHandler, despite the level being set to SEVERE.
    The getLevel calls displays the proper levels: "FINER -- FINER -- SEVERE"
    When I start up the applet, I get the following in the console:
    Apr 28, 2009 12:01:34 PM lib.srr.applet.SRR initLogger
    INFO: FINER -- FINER -- SEVERE
    Apr 28, 2009 12:01:34 PM lib.srr.applet.SRR initLogger
    INFO: FINER -- FINER -- SEVERE
    Apr 28, 2009 12:01:40 PM lib.srr.applet.SRR initLogger
    INFO: Logger Initialized.
    Apr 28, 2009 12:01:40 PM lib.srr.applet.SRR initLogger
    INFO: Logger Initialized.
    Apr 28, 2009 12:01:41 PM lib.srr.applet.SRR init
    INFO: Preparing Helper Files.
    Apr 28, 2009 12:01:41 PM lib.srr.applet.SRR init
    INFO: Preparing Helper Files.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Getting PC Name.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Getting PC Name.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Finished Initialization.
    Apr 28, 2009 12:01:42 PM lib.srr.applet.SRR init
    INFO: Finished Initialization.Notice they all display twice. Each of those are also being displayed to the user through the JOptionPane dialogs.
    Any ideas how I can properly set this up to send ONLY SEVERE to the user, and FINER and up to the File/Console?
    Thanks!
    Edit:
    Just in case, here is the code for my SRRUserAlertHandler:
    public class SRRUserAlertHandler extends Handler {
         public void close() throws SecurityException {
         public void flush() {
         public void publish(LogRecord arg0) {
              JOptionPane.showMessageDialog(null, arg0.getMessage());
    }Edited by: compbry15 on Apr 28, 2009 9:44 AM

    For now I have fixed the issue of setLevel not working by making a Filter class:
    public class SRRUserAlertFilter implements Filter {
         public boolean isLoggable(LogRecord arg0) {
              if (arg0.getLevel().intValue() >= Level.WARNING.intValue()) {
                   System.err.println(arg0.getLevel().intValue() + " -- " + Level.WARNING.intValue());
                   return true;
              return false;
    }My new SRRUserAlertHandler goes like this now:
    public class SRRUserAlertHandler extends Handler {
         public void close() throws SecurityException {
         public void flush() {
         public void publish(LogRecord arg0) {
              Filter theFilter = this.getFilter();
              if (theFilter.isLoggable(arg0))
                   JOptionPane.showMessageDialog(null, arg0.getMessage());
    }This is ugly as sin .. but I cannot be required to change an external config file when this is going in an applet.
    After much searching around, this logging api is quite annoying at times. I have seen numerous other people run into problems with it not logging specific levels, or logging too many levels, etc. A developer should be able to complete configure the system without having to modify external config files.
    Does anyone else have another solution?

Maybe you are looking for

  • IPod nano 7th generation possessed??

    My iPod nano 7th generation keeps turning on and off until the battery is completely drained! I've never dropped it in water and I kept really good care of it. Please help!!

  • Can hear audio, but no video in bridge cs5

    Hi guys, please help. when i play the .mov format in primere PRO CS5,i can both hear and see the videos........ but when i try to browse in the bridge cs5, than i can only hear the audio, but i cannot see the video? By the way i am on win7 / 64bits p

  • Force SQL Developer 1.5.4 to export data on  1 XLS workSheet

    Hello. I'm using SQL Developer 1.5.4 to export data into XLS format. The exported file is about 40MB big. During the export, I have noticed that SQL Developer splits the data into several worksheets, having about 64,001 rows each. Please, is there an

  • KDE 4.5 Floating window bug

    Anyone else have overlapping windows? With a height of 1048, I open two windows that are each 524.  Pre 4.5, they opened evenly, dividing the screen in two, but now they overlap by 6 pixels (minuscule but annoying). I submitted the bug upstream alrea

  • Businees one

    Hi Experts, what are the sap  tools to connect businessone from remote loction, any third party tool to connect to business one remotely ... business one installation  docs n links appreciated thanks&regards pavan