I have created a ticket system where users can submit their problem. After several month of experience it appears that offering a zone to paste a screen shot will be ideal. Is there anyway to acheive this without pasting to a word doc, and upload it?
I have 2 monitors from a different size. It is important in my application that I get the screen size of the monitor where the webbrowser is located. When I try to get the screen size (window.screen.height + window.screen.width) only IE gives me always the screen size of the main monitor where my taskbar (windows7) is located, instead of the screen size of the secondary screen where the webbrowser is located.
I have a div that has a negative top margin and a negative right margin. The right margin is because I want to have the div slide onto the page from the right. The top margin is because without it my page height is the height of the visible elements plus the height of the off-screen div.On a button click, I move the div down and then animate it onto the screen from the right. On button click again, I animate the div to the right, off the screen, and then move it up. I also toggle its width & padding so it will appear to grow/shrink as it moves on/off screen. At least that's what I am trying to do. The animation onto the screen looks good, but going off the screen, it appears to happen intantaneously, instead of animatedDoes anyone know how I can fix this?
$(".addPanels").live("click", function(){//now and in the future, show the add panels menu var thisAddPanelsMenu = $(this).parent().prev(".addPanelsMenu");//get the addPanelsMenu if(thisAddPanelsMenu.length) {//if the addPanelsMenu exists
There must be an apostrophe or some other little javascript nuisance that I'm still including in this script, but whenever I try it out, nothing shows..it is supposed to randomly display some text and a link Code:
I was wondering if it is possible to maximise a screen in javascript.
right now, I use this code:
A HREF="heritage.html" onClick="msgWindow=window.open ('heritage.html','fullWindow','toolbar=no,location =no,directories=no,status= no,menubar=no,scrollbars=yes,resizable=yes,width=8 30,height=630'); return false" onmouseover="window.status='open site in full screen' return true" CLASS=TP>open full screen</A>
, but I was wondering if we can fill the entire screen?
im building a web application in asp.net. i was wondering if there is a way to set the screen size automatically on the clients monitor to 1024*768 when they enter the application and return it to its original size on exiting the application.
I"m looking for a cross-browser (Firefox 1+, IE 6+, Safari whatever+) to calculate the width of the viewable browser area. Note that this is different than the screen width, which would always stay the same value, even if you started resizing your browser.
I am working a project where I am using two monitors and using HTML/Javascript to display the information I want.
I have my main stuff on the main monitor, but when each page loads, I want an image to load fullscreen on the second monitor as well. I am using 800x600 resoution on both.
If I use:
function openWindow() { mainWindow = window.open("thispage.htm","pagename","fullscreen=yes"); }
that works fine for the main monitor.
I have then tried to use the second monitor to open an image by using the same type of thing:
function imageWindow() { openImage = window.open("image.jpg","imagepage","fullscreen=yes"); openImage.moveTo(801,0); parent.focus(); }
I am trying to use it with the onload command as well:
<body onLoad="imageWindow();">
I am passing arguments to these functions but simplified it here.
Anyhow it will only open it full screen on the first monitor. I can position it and move it to the second monitor if it is not full screen just fine.
I'm starting to know how many advantages has JQuery for developers. I'm trying some experiments, and the other day I saw the "iGoogle" interface, where users can move the gadgets around the screen, and this stuff liked me very much. That's why I want to ask to the community if anybody knows if there is some plugin or library in JQuery to do the same effects and allows the programmer to move a div from one point of the screen to another one and fix it.
I'm using jQuery AJAX to retrieve XML similar to that below. Now I understand how to parse this XML using jQuery, but I since everything inside the 'albums' node is valid HTML I just want to write it all directly into a div on my page. However, strips out the 'tags' and it doesn't like [url]... either. So how do I write XML direct to a page without losing the tags?[code]...
I have a chat script in php that is working great, I use meta refresh to see new posts and that is very irritating for the users. I have come across many a javascript that claims no flicker in the refresh, but they do.
I don't know that much javascript, but I have heard thet AJAX can be used to poll to the server to get data without refreshing. I have been searching like crazy and I haven't seen very many tutorials for this.
I have my server side script working, I just want to refresh without flicker. Does anyone know how to call to the server script without refreshing the page?
I'm using slimbox 2, a lightbox that is jquery based. It works ok in Coda locally on my copmputer but when I upload to the web, the lightbox opens to the right of the screen (mostly off to the side of the screen). This has happened with a couple different lightbox scripts I've tried. I am not sure what the conflict is in my css that is causing this.
I'm new to javascript and im trying to teach myself how to use it, however, ive come accross a problem. I'm using this code embeded in a HTML page for rollover images:
<script language="JavaScript" type="text/javascript"> <!-- if (document.images) {[code].....
This works completly fine in 1280 x 800 but goes mental when you hover over it in 1024 x 768 screen resolution.
We are creating a new button like the ones known from addthis/sharethis and would like the same behavior as there popups.We have tried by putting together some different scripts, and the action is about right. We do still have one problem, and that is the position of the popup.If the button is placed at the right site of a website, it floats out of the screen, making scrollbars. Also it don't have same position behavior in Firefox, IE, Opera ...The button can be seen here: http:[url]....
The code related to this problem should bed this:
function move_box(an, box) { var cleft = 0;[code]....
If someone would be interested in rewriting the script, we would credit this in our about page.
I know this picture_viewr js is a fullscreen slide Would it be possible to set a screen size (700x500 e.g.) and then set a background color or the part that would be outside this window???
I want to have a strip down the middle of the screen with my websites content as common on many web pages. I don't want to use background images to achieve the look, rather I was thing of having a div tag that would fill the entire height of the screen. I would just set the height of the div using window.innerHeight
I have been asked to come up with a script that disables the print screen key for a couple pages on my buddies web site, but I have never even heard of such a thing, so am not sure where to start looking. A quick google search showed that it is possible, so I was wondering if anyone can recommend a good tutorial on how to do it.