META Tags

Jul 23, 2005

I have a web form that needs to be printed for signatures. Problem is the
form is just a bit too big and always prints on two pages. Is there a meta
tag that will tell the printer to print the document on one page...or is
there a meta tag I can use to print at 80%?

View 1 Replies


ADVERTISEMENT

Add Additional Meta Tags Using JS

Jul 20, 2005

I have documents that I want to automatically add additional meta
tags to. The documents already have some meta tags and I want to keep them
all together, so I want to add my new meta tags to the end of the existing
ones... can someone help me out with a script to do this... example below.=

View 1 Replies View Related

How To Turn Off The AutoComplete Using Meta Tags

Jul 23, 2005

I was wondering if there is some other way to turn autocomplete off besides using "autocomplete=off", using a meta tag or something similar. It would be great if there is some way to turn it off at a page level....

View 2 Replies View Related

Add Meta Tag To <head>?

Mar 11, 2009

[URL]

That didnt work The code is added to the oScript element but thats it. I have tried another script from here:

[URL]

I want to add a meta tag from the body tag and it worked using Jscript

This worked only on my local but not on hoster:

HtmlMeta GoogleVerify = new HtmlMeta();
GoogleVerify.Name = "verify-v1";
GoogleVerify.Content = "681rsArfYmoRz88BIT8ZVDeLk4b6VMEn1+StcF61iwY=";
HtmlHead head = (HtmlHead)Page.Header;
head.Controls.Add(GoogleVerify);

And on the hoster theres a scripting error as well why innerHTML doest work?

View 9 Replies View Related

How To Read Meta Tag Value With Js?

Nov 23, 2005

Does anyone know how - or better yet - have a sample of how to extract information from a meta tag in an HTML document's head tag using Javascipt?

I have looked at the DOM with Firefox - but it seems so long. I'd be really interested in a better way. If someone has the javascript for walking through the DOM, that would be cool too. I havn't built it yet.

View 2 Replies View Related

Meta Refresh

Jul 23, 2007

I have a requirement to hit a page, run some JavaScript, and move on to another page. It's uncertain whether the user actually has JavaScript enabled, so I can't use JS to effectuate the move to the second page. Here's what I've got:

<html>
<head>
<meta http-equiv='refresh' content=&#390;url=page2.html'>
</head>
<body>
<script src="http://www.example.com/example.js"></script>
<script>
_xxx = "xxxxxxxxx";
xxx();
</script>
</body>
</html>

My question: will the JS run before the refresh to page2.html? I tested this with an alert() in the script and it seemed to work fine. I just thought some of the W3C gurus out here might be able to give more authoritative answers.

View 1 Replies View Related

Meta Tag For Scripting Language

Jul 20, 2005

I have some doubts about this meta tag:
<META http-equiv="Content-Script-Type" content="text/javascript">

Do I really need to declare this meta tag in all my pages?

If I declare it, will I still need to create my scripts this way?
<script type='text/javascript'>

Is there any advantage/disadvantage when using it?

View 2 Replies View Related

Meta Redirect, New Window?

Feb 17, 2003

is it possible to use the META http-equiv=refresh tag to redirect to another page in a NEW window?

View 2 Replies View Related

Stopping Http Or Meta Refresh

Jan 14, 2009

I have a web page which takes a while to generate due to serverside processing. I currently show a "please wait" page, which includes a meta refresh tag, as well as a refresh http header, to refresh the current page every X seconds to check if thier data is finished processing. They're also provided a manual link to click to refresh the page, just in case thier browser doesn't like automatic redirection.

I think this works great for just about all users. But I have this idea that it would be nice if I used ajax to check back with the server instead of making the browser reload the webpage. I want this to be an enhancement of functionality, so that users without javascript or ajax capability still fallback on the solid current functionality. This means I need a way to stop the browser from obeying the http refresh header and meta tag. Is such a thing possible with javascript?

View 3 Replies View Related

Update Meta Description With Div Content?

Feb 22, 2010

is there a way to set the meta description to x amount of charictars from the content of a div in the body?

View 2 Replies View Related

Passing Meta-knowledge About A Form Element

Jan 20, 2006

I need to create a table where each element has certain specific properties.

For example, elements in the first column should always have a range of
0-100, and increment by 1. Elements in column 2 might have a range of
0-360, and increment by 0.1. Altogether there might be 8 elements in
each row.

Since this is basically the same javascript function over and over, I
wonder if there is a way to create some <input> element that might
contain this knowledge in a way that javascript can access it.

For example, could I have

<input type="text" class="percent" onkeypress="javascript:blah(event)">

where the javascript function could retrieve the class value?

Since this is going to be fairly complex, I'd like to make it fairly
self-documenting and simple. It's much easier for a maintainer to
understand class="precent" than "javascript:blah(0,100,1,event)",
especially since I am also going to have to pass navigation information
(is this a border element in the table? what are my neighbors? kind
of information... - so that the actual information might end up being
javascript:blah(0,100,1,5,21,16,18,0,1,0,0,event) to denote the data
type, the 4 neighbors, and the 4 border conditions....

View 3 Replies View Related

JQuery :: Selector Incompatibility With Meta Characters?

Dec 22, 2011

I'm working for a company as a consultant and i'm trying to upgrade their jQuery version to the latest available (1.7.1). Previously they were able to do a selection such as $('a[name*=word<>word]') without any problems, however, after upgrading to 1.7.1 the selection is invalid even when escaping both meta characters with a double backslash ( $('a[name*=word\<\>word']) ) - I know the best solution would be to just change the selection based on something else like a class name, but this is something they are using across the whole site and we have a deadline for this.

View 4 Replies View Related

Call A Function In A Meta Refresh Statement?

Jan 18, 2010

Is there a way to call a javascript function in a meta refresh statement? I'm refreshing my page but if I have data in my fields I don't want to loose them. If I can call using a JS function then in that function I can call the Submit function and save my data in the called script.

My syntax below doesn't fire the JS function:

<meta http-equiv="refresh" content="30;url=javascript:auto_refresh();">

View 1 Replies View Related

Dynamically Changing Page Title And Meta Description?

Sep 9, 2009

I am using PHP & mySql to grab the title and description that I have stored in a table in the DB.

I am trying to dynamically change the <head> <title></title>, as well as <meta name="Description" content="" /> .

I used document.title to change the title. I see the title changing in the browser, but when I click on view source in the browser to see it int he code, the title is empty. How can I also see it in the code?

How do I change the description in the meta tag?

View 4 Replies View Related

JQuery :: Unable To Get Toggle Effect Working Having Different Div Tags And Different <a> Tags

Dec 15, 2011

Can't seem to make it work, I have seen many examples but they are all just for 1 div tag. When i trymore than one it doesn't work anymore.The first one works, if i have more than 1 then the other don't work.

using the following jquery
$(document).ready(function(){
$("#toggle-text").click(function () {
var divvalue= this.value;

[Code]....

View 1 Replies View Related

Firefox - Select A Word And Wrap [b] Tags Or [quote] Tags Around It

Dec 28, 2010

I use Firefox and am wondering how to select a word and wrap [b] tags or [quote] tags around it?

View 30 Replies View Related

Input Tags Outside Form Tags ?

Jul 12, 2010

Is it possible to trigger the action of a form with a submit button that's outside the form tags? If so, how should this example be rescripted to make the input tag work outside the form tags?

View 3 Replies View Related

JQuery :: Using The Validate Plugin With The Meta Data Plugin?

Jan 20, 2010

im using the validate plugin with the meta data plugin

jQuery(document).ready(
function(){
jQuery("#com-createForm").validate({ meta: "rules" } );
});

and then in the html i have for example

[Code]...

View 2 Replies View Related

Find <a> Tags With <img> Tags In Them?

Jun 25, 2010

I really know nothing about how to code JavaScript (I know what it is and what it does) and I need a script to go in the head of my page and look for all <a> tags that have <img> tags inside of them and add a rel="lightbox" attribute to them.

View 6 Replies View Related

How To Disable All Tags?

Jul 6, 2006

I have a div which includes many others tags (a, input, any others
links). How can I disable the whole div? I want to any of the included tags may
not be enable.

View 7 Replies View Related

Minimized The Use Of <img> Tags?

Nov 30, 2009

I have some extensive animation going on in this script. I have all the behavior I want out of this script. A 3D carousel interface, each window in the carousel is a separate UI window. It uses active scrolling for navs and content...like (iphone).The problem is that I have optimized to my best and still cant gain any performance out of IE. It runs pretty fast in FF, and in Safari. I have reversed loops, I have vared all my Math, I have stripped equations, could do more I guess, and I have made attempts at preventing even bubbling. I have minimized the use of <img> tags as well. I have even cached most methods and use a constructor method to create new HTML elements.At this point I am starting to feel like I am getting into techniques and areas of JS I just don't understand well.Here is example of a method I would like to optimize:

this.anim = function () {
var s = Math.sin(s3D.A * .01);
var c = Math.cos(s3D.A * .01);[code]....

View 14 Replies View Related

2 Div Tags Always Same Height?

Dec 9, 2010

I'm tryng to make two boxes on my page always the same hight, no matter how much text is inside one of them.

So the boxes will always be the hight of the box with the most text.

you can see what I meen here:

[URL]

I would wan't the two boxes to be the hight of the one to the left with the most text.

At first I thought it could be done in css, but I was told that I needed javascript to do it. And I don't have so much experience with javascript, but I can try

this is my css:

#indexcontent{
background-color:#336699;
border-top:#2175a5 solid 10px;
padding:10px 10px 10px 10px;

[Code]....

View 6 Replies View Related

YUI - Get 'p' Tags Under Parent ID?

May 21, 2009

I'd like to grab all the paragraph tag children under a main element ID.

I'm trying to use getElementsByTagName, with the parent ID, but it isn't working for me Here's the code I've been using:

Code:

//Gets Wrapper Element ID
var target = columnSettings();
try {
//alert(target);

[Code]....

View 1 Replies View Related

Add Spans To All P Tags?

Mar 1, 2010

perhaps an odd request but i need ALL (not just one id) p elements to have spans. so on document load...

HTML Code:
<p>text</p>
would become...

[code]....

View 2 Replies View Related

Getting Text From Between Two Tags?

Aug 23, 2004

what I'm trying to do is get text from between two tags, just like the title says. Now I know I can get that through the innerHTML property, but its just that, I don't want HTML, I want plain text. Consider the following example.

<span id="p-5641">
This is <strong>strong</strong> & you should really put <em>emphasis</em> on that <a href="#">anchor</a>.<br>Line broken
</span>

Now, what I want is, to get the text from between these span tags. That can be done by refering the ID of the span & innerHTML but that would give HTML & I want to strip off the HTML from it, so that I'm left with plain text, like

This is strong & you should really put emphasis on that anchor.
Line broken
with <br> & <p> tags preserved.

View 5 Replies View Related

Add Html Tags

Oct 30, 2006

I have a variable that gets a url

sp1_content = http://www.google.it
I tried it like this but it doesn't work.

sp1_content = "<a href='>" && sp1_content && "'>" && sp1_content && "</a>"
I want it to become a link.. How can i do it??

View 6 Replies View Related







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