Hidden Revealing Script Doesn't Work - Make The "secret" Div Reappear?

Mar 28, 2009

<html>
<head>
<title>Braxton's Homepage</title>
</style>
<link rel="stylesheet" href="normal.css" />
<style type="text/css">
div#secret{
border: medium double black ;
[Code]...

why this doesn't work! It's supposed to make the "secret" div reappear.

View 2 Replies


ADVERTISEMENT

Hidden Layers Revealing Themselves

Nov 13, 2001

I'ld like to insert a feature seen in www.k10k.net and www.rangermag.com whereby once a link is clicked it instantly reveals a hidden layer - seems a great way of quick navigation of info.

View 1 Replies View Related

Hiding / Revealing Hidden DIVs For Menu

Jan 11, 2010

I am trying to create a basic menu where if you put your mouse over a button you get a bit of descriptive text or an image appearing somewhere else on the page. I have tried to do this with hiding/revealing hidden divs - works fine with IE but no others.

<html>
<head>
<script language="javascript">
var descriptions = new Array();
descriptions[0] = "<p>See whats been added to the web site recently</p>";
descriptions[1] = "<p>Find out more about me</p>";
descriptions[2] = "<p>Check out me links</p>";
function showDescription(descriptionIndex){ .....

View 2 Replies View Related

Secret Code / Hidden Message And Obfuscated Code?

Jan 14, 2011

I hope whether such a script exists for what am wanting to do. From time to time, I need to send password information or login details and password information to some users. At the moment, am doing it via email with a subject named FYI and the body of the email basically just contain the login and the password or in some case, just the password. What am wanting to know is whether I can put these information into a HTML file which contains an obfuscated Javascript with a button that a user will click that will prompt for his login information and then will display the password. In its simplest form, I guess I am looking for a Javascript that will obfuscate a HTML file that contains the password. I found some website that offers such service as obfuscating a HTML file but am hoping it can be done via a Javascript so it is at least "portable" and I do not have to be online.

View 5 Replies View Related

JQuery :: Hidden Div Doesn't Work With '.slideDown' / Enable This?

Aug 3, 2010

This is my first post here and I'm pretty new to javascript and jquery.

I have an index.php, where different content is loaded with jquery in the div '#content'.

This works fine.

The js script is included with

Now i load "songs.php" in this div, and in this php-file is a php-script, that reads songs from a database.

Here's the php-code code...

View 2 Replies View Related

JQuery :: Make A Dropdown Menu Reappear After An Auto - Redirect And Clicking The Back Button?

Oct 25, 2011

Within my code below, when selecting 'Animals'in the dropdown menu a second dropdown menu appears.Selecting any item within this second dropdown menu causes a page redirect. When you click the back button in the browser, this second dropdown menu disappears in every browser besides Firefox. I want the user to be able to change their animal selection, e.g. choose 'Cat' first, then go back and choose 'Bird'.

I don't understand why the second dropdown menu disappears, going 'back' should display the page as it was. Is there any way to get the second dropdown menu to reappear without using a jQuery history plugin? This code does not behave as I have described in jsfiddle, so have pasted it here:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function() {

[code]....

View 10 Replies View Related

Make Adsense Work On Results (doesn't Appear) On The Page

Apr 28, 2009

I have been trying to make adsense work on my results on the page [URL]. I want the adsense in the results when you type something in. When I do this normally, it just doesn't appear. When I use this:

document.write('<table align=center cellspacing=0 cellpadding=0 border=0><tr><td valign=TOP align=center>');
document.write('<scr' + 'ipt type="text/javascript" >');
<!--
google_ad_client = "pub-8143092012646781";
[Code]....

View 5 Replies View Related

2nd Iteration Doesn't Update - General Case Doesn't Work

May 10, 2010

This is a makeshift sort function for a table. I want to replace a div contents with a javascript function call. It works fine if I define the individual case, but the general case doesn't work. The problem lies with the +divHold+ part. It never converges to the passed value on the 2nd iteration. This is my Div:

[Code]...

View 4 Replies View Related

AJAX :: Cross-browsing Request Work Around - Every Browser Doesn't Work ?

Jun 14, 2010

The "Permission denied" cross site issue.

I have to check from my external domain if a service is running on localhost:8080 of a local machine.

I'm using XMLHttpRequest to do it.

I'm checking a local-web-server, not a file.

Every browser doesn't work, but Firefox. So I'm looking for a work-aorund.

An iframe? a flash swf? an applet java? HTA applications?

A side question is, why does FF work? Because it's a local-web-server?

View 2 Replies View Related

Hidden Div Doesn't Show

Dec 9, 2009

I would like to have an anchor link with hidden text. When I click on the anchor link, I want to see a text drop below showing the Keep trying information. It keeps giving me "object expected" error message. What object I need to put in there. Here is the code:

[Code]...

View 2 Replies View Related

JQuery :: Restarting Script - Doesn't Fadein The Div - Press The "a.item_add" Link It Doesn't Work

Dec 10, 2011

I've this script:

When I press again the "a.item_add" link it doesn't work (doesn't fadein the div again). how can I "restart" the script ?

View 2 Replies View Related

Canvas:fillText(...) Doesn't Work In IE - Says "object Doesn’t Support This Property Or Method"

Feb 24, 2010

Why doesnt the following code work in IE. There is an error on the same row as fillText. It says object doesnt support this property or method.

<html>
<head>
<title></title>
<script type="text/javascript" src="excanvas.js"></script>
</head>
<body>
<canvas id='chart' width='500' height='200'>
[Code]...

View 1 Replies View Related

Form Input Text Disappear On Click / Reappear If Nothing Has Been Entered

Mar 2, 2010

Basically i need help with input fields that when clicked the text (value) disappears but if the user has not entered anything in it would revert back to what was originally there.I have managed to get the value inside to disappear once clicked without the use of javascript but would love someone to point me in the right direction of how to revert the original value back if nothing was entered in if the user did click inside as the field continues to be blank.

View 2 Replies View Related

Make <tr> Visible Or Hidden ?

Aug 23, 2010

I have a code below my concern being tht when the first text box "Name" conatins a value of "TPU" then the sexong text box "Ref Number" should be visible else should not be visible.

I mean the Whole <tr> shall be visible only if "Name = TPU"

Code:

View 1 Replies View Related

How To Make Link / Banner Hidden On Clicking

Jan 27, 2011

How can I make a link or banner to be hidden after x clicks on it? And if possible to count only different IP clicks? Like if 30 users click on the banner and it is no longer shown in the site, unless I put some more clicks for it.

View 2 Replies View Related

Make A Hidden Asterisk Visible Using Script?

Dec 12, 2010

I'm not very good with javascript. My knowledge is very limited.

See, this code is going to check if a user has inputted an empty field or not. As of now, Im testing it on 'first name' text field. If the user didn't input anything (the text field is empty) and clicks submit, an asterisk will be displayed at the right side of the text field. The asterisk is only temporary. If the user clicks the text field or refreshes the page, the asterisk at will disappear.

I've googled it already and I've tried every technique I can find but I can't get this code to obey. code...

View 1 Replies View Related

Hidden IFrame And Forms - Do They Work?

Sep 10, 2009

I'm trying to solve problem I'm having with my iframe and forms. I have a form that is brought into a hidden iframe. Now I can't seem to get the form to submit? I am guessing this is the case because of how the content in the iframe is brought into the main page. I'm not very good with scripts. Here is my page: [URL]. The form is on the reservations page. This is the form that won't work.

Here is my code:
This is in the stylesheet:
#buffer { position:absolute; visibility:hidden; left:0; top:0 }
div#display {
margin:0 0 0 0;
/*margin: 2em 0;*/
/*border-top: dashed 2px #999;
border-bottom: dashed 2px #999;*/
padding-bottom:6px;
display:none; /* until loaded */
}

This is in the main page (which calls the iframe)
<div id="display"></div>
<!-- onload attribute does not validate but is included here rather than assigned via JavaScript to maximize cross browser support -->
<iframe id="buffer" name="buffer" src="home.html" onload="dw_displayExternal()"></iframe>

View 3 Replies View Related

Make Hidden Video Not Play When Page Loads?

Oct 1, 2009

I see when I post a link to Facebook for a youtube video that it shows a thumbnail. When i click the thumbnail it plays the video right there on my facebook page.

I am wondering how do they do that trick?

So, let me take a guess.

Facebook is probably using some RSS feed aggregator to pull the info from YouTube.

They probably are also using maybe jQuery + CSS to hide the video at first. When you click the thumbnail it shows the video and then the video begins playing.

So, two questions: if that is how they do it then How do they make the hidden video not play when the page loads? how do they get it to start playing automatically once the video is revealed?

View 3 Replies View Related

Hidden And Visible - Make A Textbox Invisible Originally

Apr 12, 2011

I'm trying to make a textbox invisible originally.......

And then visible on a submission......

However it doesn't work.

I can however do the opposite.

View 1 Replies View Related

Onchange Won't Work - How To Make It Work

Mar 15, 2011

this will not work on change. also the innerhtml wont display. please help. here is the js:

function checkemail(){
if (document.suform.email.value && document.suform.emailcheck.value)
{
if (document.suform.email.value == document.suform.emailcheck.value)

[code]...

and here is the html:

Re-type Email: <input type='text' class='rfield' name='emailcheck' id='emailcheck' onchange='checkemail()'></td><td style='position: relative;'><div id='wm' style=' font-size: 11PX; position: relative;'></div>

View 4 Replies View Related

JQuery :: Make Hidden Things Not Show Up On Load / Refresh?

Dec 23, 2010

I have some contents on my page that are displayed on click or hover.Therefore, initially they are hidden using the hide() method.

They work fine as intended.

But if it is a slow computer, you can see them on the screen for a second or two before they disappear. Or if the user refreshes the page - you get the same thing happen. How can I prevent this?

View 3 Replies View Related

Web App Doesn't Work On Mac

May 19, 2011

I have created a multiple upload function using Flash and JavaScript. I have checked it in all webbrowsers (including Safari) on my computer (windows) and it works fine! Bravo for me! However, I have asked a friend to check my upload function on her Mac, but for some reason it fails. I have no Mac to test ... but does anybody know why the application fails in Safari running on on Mac OS? I understand this is a difficult question without knowing the exact error, but why does it work in Safari on Windows, but not in Safari on a Mac. Is Mac using other standards/conventions for JavaScript or something like that?

View 13 Replies View Related

JQuery :: Make Div Panel Visible And Hidden AND Hide Div On Body Click

Apr 27, 2010

I have a div tag element and a hide/show button above it. I'm able to handle the hide show of the contents all right via the button, but I want the div to be hidden when someone clicks anywhere else in the document, save inside the div area itself.This functionality is similar to what you see on the sign on panel in twitter.com. Press the sign in, the div sign in panel displays. Press the sign in link OR anywhere else on the document outside the panel. The panel is hidden.What's the best way to script this functionality in jquery?

View 1 Replies View Related

IE 6: Revealing All Onload

Oct 10, 2006

I'm new to DOM and javascripting and have constructed a hide/show menu. I can't find a way to keep IE6 from revealing all the sub-lists onload. The code (inspired by PPK and Jeremy Keith's recent books) follows:

window.onload = function () {
var topnav = document.getElementById ("navmain");
var parent = document.getElementsByTagName("ul");
for (var i=0;i<parent.length;i++) {
if (parent[i].className != "section") continue;
parent[i].style.display = "none";
var header = parent[i].previousSibling;
if (header.nodeType != 1)
header = header.previousSibling;
header.relatedTag = parent[i];
header.onclick = openClose;
}
}
function openClose () {
var currentValue = this.relatedTag.style.display;
var newValue = (currentValue == "none") ? "block" : "none";
this.relatedTag.style.display = newValue;
}
Markup:
<div id="navmain" class="clearfix">
<ul><li><h4>Markets</h4>
<ul class="section">
<li><a href="/corporate/">Corporate</a></li>
<li><a href="/govt/">Govt/Agency</a></li>
<li><a href="/municipal/">Municipal</a></li>
<li><a href="/mbsabs/">MBS/ABS/CDO</a></li>
<li><a href="/funding/">Funding</a></li>
</ul>
</li></ul>
</div>

Hoping for some simple solution, but all advice is welcome.

View 6 Replies View Related

'else If' Statement That Doesn't Work

Mar 25, 2010

this is a re-post of the last item in ':after in js?', below, but the problem is no longer about ':after': now there's an 'else if' statement that doesn't work. This works: it looks for 2 conditions in a class name, and changes a class:

[Code]....

View 2 Replies View Related

Replace Doesn't Work / What To Do?

Aug 25, 2011

I've got a form textarea on my site, which after being submitted is stripped by my php file.

Then my javascript kicks in and does some analysis of the entered text. However everytime the user entered a hard return within the textarea my javascript gives me an error 'tekenreeks niet afgesloten' which means something like 'string is not closed'.

Therefore I decided to replace all occurences of chr(10) and chr(13) with ok2 (just some random characters), I did this with php which worked fine, and I didn't get the javascript error.

However I need to reshow the entered text (original) to the user, so I need to restore the old values. I tried result.waarde.replace('ok2', 'chr(13)'); but it doesn't work, as it still displays ok2.

I'm no expert in javascript, but how can I replace those characters by the hard returns?

Oh yeah I'll show some more coding, perhaps the error can be found there code...

View 3 Replies View Related







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