URL Links - Controlling HTML Page Opening Query

Sep 21, 2011

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.

View 5 Replies


ADVERTISEMENT

Opening The Slideshow Links In The Same Page?

Sep 10, 2009

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

<a href="javascript:gotoshow()"><img src="http://imgkk.com/i/hPnvq8.jpg"target="_self""_innerframe" name="slide" border=1 width=375 height=275></a>
<script>

[code]....

View 6 Replies View Related

Autocomplete - Opening New Page That Links To Document?

Mar 31, 2011

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

View 1 Replies View Related

No Links Opening In New Tab

May 1, 2009

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).

[Code]...

View 2 Replies View Related

Open SWF Files In Transparent Window Using Links In HTML Page?

May 13, 2011

I am trying to open some SWF videos from an HTML page. When the user clicks the link, I would like to have the videos open in a transparent window (not a separate browser wndow).

I have figured out how to embed the files and have them open in a transparent window as soon as you load/refresh the page but I want to open the SWF using a link.

View 4 Replies View Related

Controlling HTML SELECT Vertical Scroll Bars

Sep 18, 2007

The problem I'm trying to solve is that the
designer would like to limit the total number of entires shown when
you click on the drop-down arrow of a select box. I'm starting to
think that this isn't possible.

I've tried the following with no luck:

- Setting the height attribute on the select element
- Setting a style height for the select attribute
- Modifying the same through Javascript
- Setting the style overflow-y to scroll
- Setting the size of the select element

At some point in my browsing someone claimed that the vertical scroll
bars are controlled by the OS/Browser and there are no ways to change
this using JS or CSS. That the magic number of IE is 30 entries before
the vertical scroll bar shows up.

View 4 Replies View Related

JQuery :: Opening Links In A New Window?

May 2, 2011

how to actually open a link in a new window instead of a new tab.

So far the suggested codes around the internet all come to something like this:

<a href="http://whatever.com/profile/1" id="upload_link" rel="external" target="_blank">To open in new Window</a>

And the jQuery is something like the following:

$("#upload_link").click(function(event) {
event.preventDefault();
event.stopPropagation();
window.open(this.href, '_blank');
});

I read it has worked for some people out there, but in my case it's working only to create new tabs!

I need it to open a new window in Chrome, Firefox and Safari, one with fixed width and height if possible.

View 4 Replies View Related

Iframe'd Links Not Opening In New Window

Apr 21, 2009

so I've got this page with the following iframe: <iframe src="http://test.page.local/promo/" height="350" width="214" frameborder="0" scrolling="no"></iframe> And within the framed page, a list of links, a sample of which looks like this: <li><a href="http://www.test.com/johnny-be-good/" target="_blank">Johnny's been good</a></li> yet when I click the links, the page loads within the iframe. The target is set to open a new tab or window, yet the links refuse to do so. I've tried _blank, _top, _parent, and resorted to hijacking the links with JavaScript (which seems to me to be overkill) and nothing works. I know this can't be hard, but its driving me nuts.

View 3 Replies View Related

Opening Drop Down Links In New Window

May 3, 2010

I am not familiar with Javascript and I need to open a link in a drop down menu in a new window. Below is the script that exists now that opens the links in the same window.

[Code]...

View 2 Replies View Related

JQuery :: Opening Links Under Current Window?

Dec 30, 2009

I'm looking at creating a list of links that when each one is clicked, opens a new window/tab under the current window, the reason for this is that i'm using jQuery .toggle to switch content upon click of a link to reveal a message. They have to read this message before going to the new window, which is why it must be opened below the current window (Hope all that makes sense!).

I've got the content switching part done, which is great, but having some trouble coding the "New Window opening under the current window"

Thw following code (When used with jQuery) opens up a new window under the current window (Yay!) - BUT - this happens on page load simply apply it to the links, and only apply it to link with a certain class e.g. class="newwindow"

Code:
$(document).ready(function() {
var link = $(this).attr('href');
var mer_window = window.open(link, '_blank', 'toolbar=1,location=1,directories=1,scrollbars=1,resizable=1,status=1,menubar=1');
if (typeof mer_window === "object")

[Code].....

View 4 Replies View Related

JQuery :: Tabs Ajax Mode - Opening Links In Specific Container

Jan 29, 2009

Tabs jQuery v2.7.4 of stilbuero. I want to use Ajax Mode and open the links in a specifically container. For example:
<div id="box">
<ul id="tabs">
<li><a href="01.html"><span>Tab one</span></a></li>
<li><a href="02.html"><span>Tab two</span></a></li>
<li><a href="03.html"><span>Tab three</span></a></li>
</ul></div>
...
<div id="container"></div><!-- Open external links here (01.html, 02.html and 03.html) -->

View 4 Replies View Related

Controlling What Position A Page Loads In

Jan 30, 2007

<BODY onload="window.scrollTo(x,y)">

However I am linking to Google Images so I can't modify their page
code.

Is there a way to link from frame a to frame b so that the javascript
in frame a decides and controls at what position the page will load?

View 3 Replies View Related

JQuery :: Inserting Result Of A SQL Query Into Html Side?

May 4, 2010

inserting a result of a SQL query into a html template.I've got a function which sends a query to a client side database und should afterwards show the result on the html side. Here is my function:

function refreshEntries() {
db.transaction
(
function(transaction)

[code]....

View 1 Replies View Related

JQuery :: Opening A New HTML After An Animation?

Feb 27, 2011

I want to click on a picture, have a shade slide across to "close" the image, then open a new html in the same window. I can do both independently, but the page opens off the <a> tag instead of any jquery I know to use, so the new page opens before any animation happens.

View 2 Replies View Related

JQuery :: Opening HTML Inside A DIV?

Oct 4, 2011

I am trying to replicate the function that is on this page [URL] - where the links on the right open an external HTML page that activates a dialog window and the whole thing floats above the parent page. I've ripped apart the JS file but it goes beyond my understanding and has references to demo this and demo that - which isn't going to sit well with my existing code. I am trying to see if there is a simpler version of this function that doesn't require 155 lines of JS. I found the JS code to open an HTML page inside a DIV using ht e object ID method but it still acts like an iFrame and my dialog window is trapped inside, not floating above the parent page. I've even tried to use the CSS overflow: visible; but I'm sure there is more to it than that - especially since it didn't help ;) I can't use AJAX or PHP like many of the scripts I found use, so i has to be just like the page I gave as an example.

View 3 Replies View Related

Affecting An Html Element Before Opening It

Nov 20, 2010

I'm making a site for my g/f – She's writing angel messages for each day of the year, 1 message on 1 page and these (eventually 366 pages) are accessed from this one page:

[URL]

This menu page uses JS to slide to particular months. The place I'm stuck is how could it be possible to go from a particular days message, back to the month of that message in the per-datum page (having the page slid to that month)...

for clarities sake... “Terug” means “back”, so for example to click on october 22nd message, read the message, and terug back to Octobers seeds rather than back to the per datum pages month selection calender.

My best effort so far is to put this in the a tag:

onclick="document.getElementById('waarzegstermove').style.cssText='left: -1000px;';"

-1000px would be Januarys terugs, -2000px Februarys terugs etc to have it already slid to that month, this code works when on the same page, but when its on the message page before loading up the per datum page it seems to lose this setting.

View 1 Replies View Related

Put All Opening HTML Tags In Array?

Apr 26, 2010

I want to place all opening tags in an array.

In the example below, the following array should be created:

var tagsOpen=new Array();
tagsOpen[]='<h1 class="h">';
tagsOpen[]='<p>';
tagsOpen[]='<strong class="w">';

[Code]....

View 2 Replies View Related

Opening A New Window With HTML Code Instead Of File

Aug 22, 2005

I am searching for a cross-browser way (the most recent browsers are fine) to use javascript to open a new window even though I do not know the file I want to call. I do, however, know the HTML code I want output in the new window. It would look like:

View 5 Replies View Related

HTML File Not Opening From Image Link

Apr 14, 2009

I have a JS which I have already started to try to customise, but I am having some difficulty with it in that when I click on an image, it does not take me to my html page.with care.html. Although all files are in the same folder, I get an error indicating that the fille cannot be found (I have checked the file name spelling). I am not doing any of this online as the Web pages, when working, will be put on CDs.

View 7 Replies View Related

Placing All Opening HTML Tags In Array

Apr 26, 2010

I want to place all opening tags in an array. In the example below, the following array should be created:

Code:
var tagsOpen=new Array();
tagsOpen[]='<h1 class="h">';
tagsOpen[]='<p>';
tagsOpen[]='<strong class="w">';
tagsOpen[]='<p>';
tagsOpen[]='<span style="color: red">';
tagsOpen[]='<span style="color: blue">';
tagsOpen[]='<span style="color: green">';
That array should be dynamically created from this:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]">
<html xmlns="[URL]">
<head>
<title>Title</title>
</head><body>
<div id="content">
<h1 class="h">Heading</h1>
<p>Hello <strong class="w">World</strong>.</p>
<p><span style="color: red">red</span> <span style="color: blue">blue</span>
<span style="color: green">green</span></p>
</div><script type="text/javascript">
/*<![CDATA[*/
var obj=document.getElementById('content');
if(obj) alert(obj.innerHTML);
/*]]>*/
</script></body></html>

View 2 Replies View Related

Opening A New Page On A Div?

Nov 2, 2010

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.

<html>
<head>
<title>Example</title>
<style type="text/css">
div.left {

[Code].....

View 2 Replies View Related

Stop Tabs With Query Strings From Reloading Page?

Aug 18, 2009

I have a set of tabs that are set with an href that adds a query string to the url such as "?t=1", meaning the first tab is selected.

Technically it works just fine but every time I click a tab it reloads the page and I'm not entirely sure how to stop this.

I'm using a jquery plugin to handle the query strings. Here's the plugin [URL].

Here's the piece of the code that matters:

var url = location.search;
var tab = $.query.get('t');
init(tab);
function init(tab){

[Code]....

View 3 Replies View Related

Jquery :: Altering URL - Query String Without Page Reloading

Feb 12, 2011

Is it possible to alter the query string of the current URL without triggering a page load.

eg. Say you have AJAX pagination, allowing people to change pages without the whole page reloading, just the content of the paginated area. However in case somebody bookmarked the page, they would really only be bookmarking the page 1 - even if they were on page 10.

So, what I was wondering is if it is possible when a user clicks Next, Previous, or Page 10, 15 etc, to alter (with javascript/jQuery) the URL (shown in the browser navigation bar) so that it reflects the page number they are on.

I am sure something like this is possible, either that or it is a damn fast connection. When I browse photos in somebody's photo album in Facebook, the photo loads with AJAX, yet the URL query string changes to reflect the current photo. And all this happens without any obvious full page reload. It appears that the URL/query string is being updated using Javascript while the photo changes using AJAX.

View 4 Replies View Related

Opening Up A Page At The Top Which Contains An IFrame?

Dec 5, 2011

We have a page which contains an iFrame. The page which contains the iFrame opens up half way down and not at the top.

is there a way in css to open up the page at the top?

This is the code which calls the iFrame:

Code:

<iframe src="Page1.aspx#myAnchor" width="975" height="180">

If I remove the #myAnchor from the url - it does work ok. But we want the anchor tag there to open up the iFrame window at that point.

(Its the parent page which we need to open up at the top).

View 3 Replies View Related

Opening Slideshow In Another Page?

Aug 8, 2011

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>

[Code]....

View 5 Replies View Related

Password To Page.html - Simple Text Input Field On A Html Page

Jun 27, 2010

I need to have a simple text input field on a html page. It needs the users to type in either:

And depending on whats entered this will then take them to the corresponding:

Is this possible with javascript?

View 1 Replies View Related







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