Belated PNG Only Works On Shift + Refresh?

Oct 21, 2011

I am at my wits end! I've added DD belated PNG to nearly every site I've ever made with little or no problems, suddenly it's being super-extra mean to me. It will only load PNGs correctly if you clear your cache when refreshing the page (shift + refresh). Check it out at the link below (obfuscated so google doesn't index the site):

[Code]...

NOTE: Just so everyone's aware, this is an IE6 only script that is supposed to fix PNG transparencies, so you'll need to look at it in IE6 to see the problems.

View 1 Replies


ADVERTISEMENT

Trap The Shift+click Event Of A DIV Works In IE And Chrome But Not In Firefox?

Aug 13, 2009

I am trying to trap the shift+click event of a DIV. Works in IE and Chrome but not in Firefox. Purpose of the code: The DIV provides a hidden link (no decoration) for an editor who wants to edit content. The DIV ignores a simple click (meaning a click without a combination of the shift key) to avoid accidental access to the casual surfer. Here is the logic of the code: DIV is clicked. call function to check for the shift key being depressed if the shift key were depressed during the "click", initiate access. If the shift key were not depressed, ignore the "click" Here is the HTML code:

[Code]...

View 2 Replies View Related

Prototype Only Works After Refresh?

Nov 7, 2011

I'm having an issue with prototype. I have the following code that I want to execute:

Event.observe(window, 'load', function(){
$('mesTour1').hide();
$('mesTour2').hide();
$('mesTour3').hide();
$('mesTour4').hide();

[Code]...

the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something I'm missing?

View 2 Replies View Related

Xmlhttp Doesn't Update - Works In IE Until Try To Refresh The Page

Jul 27, 2009

I'm using an xmlhttp request to get information from a database. Everything works fine in Firefox, and it works in IE until you try to refresh the page. If a news post (thats what it is getting from the database) is deleted it will continue to show the same information. I can't really post all of the script because it (along with the html and php) are spread out through many different pages:

[Code]...

View 8 Replies View Related

UTF-8 To Shift JIS

Jul 20, 2005

I need to convert an UTF-8 string to Shift-JIS in a web page (preferably using JavaScript).

View 4 Replies View Related

Shift Button

Jul 23, 2005

I would like to use shift button to select multiple rows in table but there
seems to be problem with it. I have table rows inside the <a> tag so I can
drag them and drop like in windows explorer. I would like to mimic also
explorer style of selecting multiple rows using the shift button. But when i
click on one of my rows using shift button then rows are selected but new
windows is also opened - and I would like to prevent this kind of action. Is
it possible?

View 1 Replies View Related

Shift Key Detection On Input

Mar 23, 2006

I'd like to detect the shift key when a button is "clicked" in
Firefox/Mozilla. If the button is clicked with the mouse, no problem.
However, if the onclick event is keyboard originated, then my method is
not working. Same thing for SELECT elements.

The simple web page below shows the issue. Click with the mouse while
holding down the shift key, and the Shift key's status registers.
However, use Shift+Alt+o, or either (while the button has focus)
Shift+Space or Shift+Enter to kick off the onClick event and the shift
key is not detected. Works fine with IE 6 on my Win XP Pro. Code:

View 7 Replies View Related

Shift+Control Key Binding

Jul 7, 2005

I started playing around with this keyevent thing and said, hey this works pretty good, I want to add keyboard shortcuts for everything.

I thought I had come up with a solid system, based on some other threads I read in this forum. It works great in Firefox, but IE seems to handle the Control key differently, also IE seems to ignore the arrows. Code:

View 3 Replies View Related

JQuery :: How To Shift A Table Column

Jul 19, 2009

What I want to do is to create a function which shifts a table column one position to left. Therefore I'am trying to select all relevant td and th elements. My problem is to rearange the elements. Within the both each calls, see the code below, $(this).get(i) would result the td respectively the th element where the before function is undefined. But how to insert the elements correctly or is this the wrong way?

$.fn.shiftLeft = function(col) {
// Make sure col has value
if(!col){ col = 1; }
var trsToMove = $('tr td:nth-child('+col+')',this);

[Code].....

View 1 Replies View Related

Unexpected Page Shift In Firefox?

Nov 5, 2009

to see the unexpected page shift in action go to http://lawlocaust.net/gamerverse/ while hovering over the banner u can use the arrow keys to navigate the UI and the page will shift in firefox

HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

[code]....

View 6 Replies View Related

Shift Report Generator - Not Working Under FF

Nov 27, 2010

I developed this under Safari on my mac. I have only been scripting for about 1.5 days so I am not the best with debugging. What would cause this?

<html>
<head>
<script ="Javascript>
// Setting vars
var winW = screen.width
var winH = screen.height;
var winLW = (winW / 2) - 240
[Code]....

View 3 Replies View Related

How To Capture CTRL+SHIFT+P At Same Time??

Oct 27, 2006

I'm working on controlling a windows media player I'm trying to figure out how to control it with keys like CTRL+SHIFT+P to play it. The problem is that I don't know how to capture all three at the same time.

I'm ONLY supporting IE because that's what the client only want's supported. I have been reading through the forums but nothing about capturing both CTRL+another key or SHIFT+another key.

View 2 Replies View Related

Events With Shift, Ctrl Or Alt Key Pressed?

Oct 14, 2010

This is a proof of concept question ... that I've been unable to prove. Ultimate goal to is allow one button to have different actions with the Shift, Control or Alt key pressed for a link "<a...>" or a button ("<input type='button'" or "<button>.") click. The following appears to work in FF and MSIE on PC (with some side-effects), but not at all on a iMac using FF or Safari.

The display in the textarea shows that I can detect when the Shift, Control or Alt keys are pressed and an event is created with a mouse click. With a left mouseClick, the display shows

[Code]...

View 2 Replies View Related

Compiler - Can It Detect Potentiol Shift Operations?

Feb 15, 2012

would like to note the following case:Ive run the following test numerous timesie:

<html>
<body>
<script type="text/javascript">

[code]....

View 2 Replies View Related

JQuery :: Function - Element Is Clicked While SHIFT Key Is Pressed

Mar 24, 2009

i am trying to build a function that takes into account a click event and SHIFT key press event on a particular element.

so for example, i want to do something only when i click a box WHILE pressing the SHIFT key.

how do i program this using jquery?

View 4 Replies View Related

Refresh Parent From IFrame Makes Refresh Loop In FF Only?

Jan 2, 2009

I have this code in a page that appears in my iframe if requested from parent:

<script type="text/javascript">
parent.rrr();
</script>
The parent code is:
function rrr() {
javascript:location.reload(true);
}

So, the person clicks a link from the parent, it does a php process in a hidden iframe, which then tells the parent page to refresh. The only problem is that it puts Firefox in a constant loop of refreshing. IE and Chrome work fine. They refresh once and stop.

Though the src code opens the iframe like so: <iframe src="" style="display:none; height:1px;" name="hdplus" id="hdplus"></iframe> Firefox seems to refresh the page with the memory of the child page being in the iframe, constantly looping the child request to refresh the parent.

Why won't Firefox just accept that no page should load in the iframe, as stated in the code? I need to stop this loop, which means I need to get firefox to reset the iframe as it reloads the page.

View 2 Replies View Related

JavaScript Popup On Window Close: Works Great On IE, Works Terribly On FF

Dec 13, 2006

I'm just restating my "site abandonment" post but with a clearer title as I realized it probably only made sense to me and me alone.

I have window that pops up with our commerce system. I have it set to pop up a window via JavaScript if the visitor quits early in the process (abandons the commerce system before completing all of the steps. The new popup is just a customer survey ("why are you leaving, is there something else we can help you with" etc. etc.).

Here's the problem, it works fine in IE, but in Firefox, anytime the page in the original commerce window is changed, refreshed or advanced to a new page, the survey popup window is called rather than just on window close.

Again, here's the two JavaScript routines that handle clicks on the graphical close button and on the window 'X' close button. Code:

View 9 Replies View Related

Prevent History Scroll (shift Key + Mouse Scroll) In IE

Jan 3, 2007

Is there a way in which we can disable the history scroll functionality in IE? Basically disable the SHIFT key + Mouse Scroll combination.

View 1 Replies View Related

JQuery :: Refresh DIV With Full Page Refresh?

Aug 11, 2009

How to refresh DIV , without refresh entire page,Am having four DIV ,

DIV1,DIV2,DIV3,DIV4

I want to refresh only DIV! without affecting the DIV3,DIV4 ,

View 8 Replies View Related

Cancel Previous Refresh Request Before New Refresh?

Apr 13, 2011

I have the below code:

<script type="text/javascript">
function loadQuickMessageCheck(File,ID){
var xmlhttp;

[code]....

View 2 Replies View Related

JQuery :: .ajax And Page Refresh In Firefox - Can't Send Form Data In FF Without Page Refresh

Apr 15, 2010

So my problem is that i can't send form data in FF without page refresh (though in IE7-8 everything works smoothly).

My code fragments:

View 1 Replies View Related

Shift+Click Or Ctrl+Click

Nov 19, 2007

I was wondering what code I would use to implement a function while the user holds either shift or control while clicking on an element.

View 9 Replies View Related

Refresh Help

Aug 31, 2005

I have a situation where I need to be able to refresh a windows parent
parent. I can not seem to use anything like

window.opener.parent.location.reload()

as by the time I execute the statement the parent has closed and all
connections closed and I am not even sure that would work!

Is there a way to reference a window to refresh it other than by using
window.parent or window.opener.

View 1 Replies View Related

Refresh

Jan 31, 2006

i would like to refresh an image source, which is alreadz stored in user's cache. one waz would be append some ?time at the end of img's url, bur next time user come accross the picture, the old pic from the old cache would've been loaded..so, i need to force somehow the browser to send a request (it does not send requests for images stored in cache by default)... like f5 (or refresh button)

View 7 Replies View Related

How To Refresh?

Mar 19, 2006

page1 opens page2 in a new window. if the user returns to page1 and makes changes they suppose to be shown in page2 (that is still opened) . is there any way to refresh page2 if page1 was it's opener?

View 4 Replies View Related

Why IE Refresh It Self?

Jan 27, 2002

I have 1 page and this page has button when cliek this button, it pop up new window, I use image instead of button.

The problem is when new window pop up, old windows refresh itself 1 time, why it refresh? how to prevent?

PHP Code:

<input type=image src='emotion.gif' onclick='exmp=window.open("smile.php","isag","toolbar=0, menubar=0, scrollbars=yes, resizable=yes");'>

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved