I am designing a tabless web page.The page contains 2 div sections.One is for menus and other is to display the contents of the page by clicking the menus.I don't want to use frames and iframes.Is it possible to do it using the div tag? The code I had used is show below.
Im having problem with this slideshow I wanna do. Im a beginner and dont really know how to do, when I want to check the small pictures, and then open a bigger version of them in another page.
<!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>
I've been trying to edit this script but it continues to open my slideshow images into new tabs. I would like that the images on the slideshows when clicked they will open in the same tab. How can I do that? Here is the script I am using
This script (put on your browser shortcuts bar) allows you to highlight any word on the page you are currently browsing, and on clicking, be taken to the wikipedia entry for that term:
The problem is, i would like it to open the entry in a new page or tab, but i cant work out how to.
javascript:q = "" + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!q) q = prompt("You didn't select any text. Enter a search phrase:", ""); if (q!=null) location="http://en.wikipedia.org/wiki/" + escape(q).replace(/ /g, "+"); void 0
I want to create a new window with a page loaded inside and use javascript in the calling page to examine the contents of the new page (after waiting a couple of seconds) and based on what the new page holds branch off in different directions. Its almost a bit like page scraping but client side on my PC through the browser.
How would I accomplish this, I know the basics of javascript (very basics) and thought something along the lines of this might work:
Code: <html> <script language="javascript"> function openwindow() {
[Code]....
PS: That code above was just me trying to access the page thats loaded up and ALERT it up on screen
I've seent his done on a couple websites.. alot on cargo type portfolios but havent been able to figure out how its done. I tried looking at this site here .. if you click any of the thumbnails u can see what I mean.. I been looking for this feature for my own site since it would get rid of the modal window im usin now and I can place more info into something like that.
My am trying to open my home page after the firefox restarts for the first time after installation.For this i am adding the event handler on load page and checks where this event is executed for the first time or not.
But my problem is how to open the page in new tab when the firefox get started. I use
`window.open("https://www.xyz.com/");`
but that opens the page in new window that might even be open in internet explorer.So is there any way to open the page in new tab in same window which is going to be open.
I have two questions. I have a html page has two "data-role=page" objects. When I open that page by clicking on a link, the second page is displayed rather than the first. If I add "rel=external" in the link, the first page shows up but the back button is missing. Is there any way to ensure the first page shows up and the back button is visible.
The second, how can I call $("#pageObject").dialog(). I tried this on a link, nothing happens. Can't I use I<a href="#pageObject" data-rel="dialog">Open dialog</a>. This does not seem to work for internal pages. Is there a method to open internal pages as popups?
my sites all resize for users resolution by checking existing cookies but if i change my res then refresh its all wrong. I wrote a program to overwrite cookies on opening page but are there drawbacks ? if cookies havent expired do they get rewritten (like at startup) to keep them fresh? if so when(in the case of res)? if i write short term cookies will that cause problems for others?.
I've seent his done on a couple websites.. alot on cargo type portfolios but havent been able to figure out how its done. I tried looking at this site here .. if you click any of the thumbnails u can see what I mean.. I been looking for this feature for my own site since it would get rid of the modal window im usin now and I can place more info into something like that. here's a site with something similar, but it doesnt work with javascript disabled. What would be the best way to do somethin like this?
I am working on an internal work site. In the site I have a text box and on entering a specific code I want it to open a new page that links to a document that has the same name. ie. if user types red, I want it to find the document red.html in a folder. To make my colleagues job easier, I want the text box to autocomplete. Below is a section of the code I plan to use:
Code: <script> var arrValues = ["red", "orange", "yellow", "green", "blue", "indigo", "violet", "brown"]; </script></head><body> <h2>Autocomplete Textbox Example</h2> <p>Type in a color in lowercase:<br /> <input type="text" value="" id="txt1" onkeypress="return autocomplete(this, event, arrValues)" /></p> </body> </html>
How to modify this to: 1) Link the text entered to the document I want opened 2) Open this document upon 'enter' pressed
is there any way I can stop document.write from outputting info to a new page I would prefer to have it shown in a textarea.
Info from an array that is suppose to display in a text area when button is clicked and when another button is clicked it is suppose to show some other info. But what happens is the first info displays in textarea for a few seconds and then the second info is displayed but on a new page and not the textarea where I want it to go
I have marked code within the code // I want this specific code to be displayed second but I know its in the wrong spot.
Here is the code
[CODE] function show() { var myArray = new Array();
I have url links in an Access Database which open different info screens depending on the record. I want to include some code in the html which isn't blocked by browsers, but restricts the html code to an initial window of approx 800x600, but can be resized, but importantly the database screen doesn't 'get lost' underneath the browser window.
I want the window to be the exact size of the image so I set the width and height of the window the same as the width & height of the image.
The code works, however there is a white border on the top and left side of the image. If I add 20 to the width and height of the window then there is a white border around the whole image.
Is there anyway to have the window the exact size of the image, without this white border? I know there is probably a simple solution, but I'm a beginner at JavaScript.
I have a form on a page and when the form is submitted it should open a new window and post the content to it.
When the script being posted to is a html page, then this works fine, but when the script being posted to produces an svg graphic, then there is no 'view source'. Its almost as though the opened page headers are already set for html and doesn't like the svg xml schema.
I found a script for drop down menus on the web. I use it on my homepage (www.k66t6-mf.com). The script works fine. However when you click on the links the pages open in a new tab or window. I do not want this. Does anyone know how I can prevent this from happening? (I know there is a lot of code, and I'm sorry about that).