i have an imagemap, and i don't know where to write in the specific size for the new window popping up...if it's possible? i'm having just an "add to cart" page pop up and i don't need a big space..
I have a quite interesting design from my point of view, but it has a small issue: the maximum screen width can't be wider than 1500px.I would like for somebody to share with me a script which detects the visitors screen resolution and if the screen resolution is higher than 1500px ( for example ) the screen resolution should be re-sized to the maximum point, 1500px in my case.
I'm making a drop down box using offset so it's below the correct option, but if I resize the window, the dropdown box keeps the same offset as when the page was originally loaded.
I need help with resizing a popup window in firefox. Currently, I use a JS script to open a popup window, and then resize the window to the size of the image. It works perfectly in IE, but not as well in Firefox.
Funny thing is it does work as expected with some images. The code is identical for every image I use this for, so I cannot figure out why it is not resizing correctly. Code:
I am looking for an option to resize a non fullscreen window into fullscreen mode.
JavaScript provides the well-known method "window.open(fullscreen=yes, ...)" to render fullscreen windows. However, I don't want to open a new window but rather want to resize a window ...in my case ones a user has clicked a button.
I'm having a problem with my dropdown menu every time i see to resize my window the menu side to side moves out of place how can i stop this from happening. Code:
I know how to use javascript to modify a newly opened window's properties. Instead, what I want to happen is someone clicks on a link and they stay in the current browser window, but the window size changes to fit my specifications.
I have a small dillemma I'm trying to solve involving javascript and I was curious if anyone here might be able to tell what the issue is. I'm redesigning my portfolio, and I have a page that involves popup windows, which can be seen at www.souledesign.net/final_site3/portfolio_flash.html. When I click on an icon, it pops up a window successfully. However, the height value I have inputted for the window is ignored, and the window automatically sizes itself vertically to the full height of the web browser.
The code that I've placed on the button that pops up the javascript window looks like this:
This should open a simle XHTML document sized to 496x70px, containing a Flash movie that is displayed using swfobject javascript. unfortunately, the window ends up resizing itself to a height that fills up the entire page rather than properly sizing to 70 pixels.
I have code that works fine in Firefox, but not in netscape.
I would like to open a popup window to display an "email a friend page".
this is my html/javascript
HTML Code: <a class="emailicon" href="/e/email" title="Email Article" return false;">Email</a> But my window does not open that size. What am i missint. IE and netscape show a full 100% size browser window.
I've recently start using Flexigrid (old JQuery grid plugin), and, as you may know, one of the few issue this really good grid plugin got is the lack of liquid layout option. My personal idea to solve the problem is to set the "width" parameter depending on $(window).width. Here is the problem (and here's why i post this question in "General use" and not in "Plugin").
The starting, and working, code is: $(document).ready(function(){ $("#flex1").flexigrid ( {
[Code].....
This work fine for me, but I supose it could be done way much elegant... maybe somethin without "IF" that could emulate the "%", like var percentage = $(#div.id).width()*0.XX with the 0.XX picked from an array of percentage, one for each column. Probably I should set up a function... ahhhh, as you may easily see I'm a total beginner with JQuery (and JS in general...)
I've read through a number of links that discuss various methods of resizing a div; however, nothing seems to work correctly for me. The basic idea is that I would like to implement is a panel that can be hidden (to save space), but collapses smoothly, rather than all at once.
I've tried setting the div's style.height property. Doing so does, in fact, resize the div (at least in Firefox 2.0); however, the inner text does not disappear as the div is resized. Should I apply another CSS style to the inner text or is there another method of obtaining the desired results? Code:
I am using a popup window to show pictures. Each time the user clicks on a thumbnail in the mail HTML page, the popup either appears or reloads a new picture.
Some pictures are portrait, and some are landscape. I build the popup html dynamically. How can I a) resize the popup window to fit the image, and b) pop it to the forefront once the new picture is loaded?
i have a div, i set the innerHTML property to a formatted paragraph of text. however, at times the text exceeds the width (and height) of the div. how do i create a fixed width div and make it use a scrollbar if the contents exceed the height and width specified. i'm using microsoft visual studio, and i have the width explicitly set in the properties but still on setting the innerHTML it resizes automatically.
I have a frameset page as my index.html page and have noticed that if my page is opened in other resolution than the one it was created in, some pictures shift locatiuons.
If this was a non frames page i knew how to fix it... Is there any was to automaticaly resize a frameset proportionaly to the screen resolution?
ex: i want one picture to be exactly 1/4 of the screen, in a one-page i would do someting like...
We are code crushing the width of images from 285px to 260 pix. However we aren't changing the height. we need a bit of javascript that can make that percentage change to the height as well.
I'm building a tool for my company and I'm making use of frames in it. I have one frame on the left side and two frames on the right side. I have two forms on the main frame (the left panel) and the user has an option to submit to either frame or to both frames.
I'm wondering: is there any way to resize the right bottom or right top frame via JavaScript if someone submits to only one of the frames?
the code above gets called every time a new page is loaded inside the iframe (ifrmDisplay) what its doing is resizing the iframe so it can have the same size as the page inside it, so i can eliminate the need for vertical scroller for the iframe, i assumed that it works on opera and IE at the same time, when i tried it out, it worked on IE but not on opera. after lot of time in researching how i can get workaround this issue with opera, that is the best possible solution i have and yet it doesnt work. so i gave up and asking you if you can help me out here , coz this is jst driving me crazy!
the problem is im not a javascript expert, to be honest i jst started doing javascripts about two days ago, that is why im in need for help
by the way, here is inner html for the iframe if its any use
the code above gets called every time a new page is loaded inside the iframe (ifrmDisplay) what its doing is resizing the iframe so it can have the same size as the page inside it, so i can eliminate the need for vertical scroller for the iframe, i assumed that it works on opera and IE at the same time, when i tried it out, it worked on IE but not on opera. after lot of time in researching how i can get workaround this issue with opera, that is the best possible solution i have and yet it doesnt work. so i gave up and asking you if you can help me out here , coz this is jst driving me crazy!
the problem is im not a javascript expert, to be honest i jst started doing javascripts about two days ago, that is why im in need for help
by the way, here is inner html for the iframe if its any use