Show Changes
Jul 23, 2005I am working on a chat, based on
<meta http-equiv="refresh" content="10">
is it possible to send a "beep" somehow when we detect any changes?
I am working on a chat, based on
<meta http-equiv="refresh" content="10">
is it possible to send a "beep" somehow when we detect any changes?
I found a sample java script for a slide show.
I'm trying modify it to show four pictures at a time.
And links to youtube videos
I really have no clue what I'm doing, I'm just changing stuff and seeing what happens. Yeah, I'm surprised I got this far.
What I need to learn is:
< how to assign and change the other three pictures.
< how to change the embeded image link.
Here is what I got so far: Slide show of Movies
And here is the code:
im trying to hide a div on page load,ive used this.
<script type="text/javascript">
function hideDiv(){
document.getElementById('sidebar').style.display = "none";[code].....
and this in the body tag
<body onload="javascript:hideDiv()">
it works fine hiding the div named sidebar, problem comes when i try to then use an Onclick event to show the hidden div, it just wont show.can this be done?
I have a problem on my wordpress blog that is integregated with a 3rd party shopping system. What I'm finding is that the Image Slide Show will not show up on the product page but will show up on other pages. obviously there is some conflict but I don't know where.Example: here is the product listing page while in the header the slide show seems to work fine.Now here is the page if you select one of the t-shirts but as you will see the image slide show in the Header vanishes?
View 2 Replies View RelatedI am having problems, basically I have a set of nested lists I need to show and hide
Code:
<ul id="smenu3"><ul id="smenu4">
<li>stuff here..</li>
<li>stuff here..</li>
<li>stuff here..</li>
</ul><ul id="smenu5">
[Code]...
I always want "smenu3" to show with "smenu4" and "smenu5" collapsed... When the user clicks the link, it calls a javascript function to show "smenu4" like so...
[Code]...
I am trying to hide/show table when hide/show button is pressed
Problem: The code works fine when I remove 'slow' from line 10. But with 'slow' in line 10 content of toggleButton doesnt change from Hide to Show when pressed.
Code:
How do I show the default icon for pdf, doc, etc... else show the image? Show the default icon for pdf, doc, etc... else show image.
Default icon:
'<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"></a>' +
The image:
'<img alt="" src="' + fileUrl.replace( /'/g, '\'') + '" height="36" border="0"></a>' +
Attempted javascript onError but only certain browsers support that or it's my code.
'<img alt="" src="' + fileUrl.replace( /'/g, '\'') + '" height="36" border="0" onerror="this.src=images/icons/' + sIcon + '.gif"></a>' +
Hi, how can i make the same id name appears??
for eg. i have this..
<div class='Invisible' id=Ɖ'>
<div class='Invisible' id=Ɗ'>
<div class='Invisible' id=Ƌ'>
<div class='Invisible' id=Ɖ'>
when i click on a radio button 3, i want to show all id that equals to 3.
now i only manage to show the very first id that equals to 3.
this script will "show more", but I would also like it to "show less" any thoughts?
<script language="javascript" type="text/javascript">
function toggle(showHideDiv, switchTextDiv) {
var ele = document.getElementById(showHideDiv);
[code]....
I've got a trouble with my script, i want to show a <div> on Netscape
and it doesn't work: Here is the script
//navigators identification
var ie4=(document.all && !document.getElementById)? true:false
var ie5=(document.all && document.getElementById)? true:false
var n4=(document.layers)? true:false
var n6=(!document.all && document.getElementById)? true:false
// creation of three div Code:
I am trying to hide some form elements in a form by default and show/hide
depending on which radio button is clicked. This is what I have but it is
not working: Code:
I'd like to have a show/hide widget on my web site, kind of like "show
details" / "hide details" in Google Groups. Is there a tutorial
explaining how to make them? Google's is a bit complex and it's easy to
get something wrong. If the browser does not support the required
features, I want it to generate a completely static page with the
"details" shown automatically.
i find some web sites show different pages by user's click on the different
headers.
most important is the client browser does not reload from the remote server.
may i know have some info / basic operation on it?
I'm trying to write some code to show a little div (with an image
is sayng is loading...) that is showed when the page is loading...
the events I can use are onbeforeunload, onunload and onload but with
that the code does not work!
are there a solution to show a little div while the page is loading
and then make it to disappear when the page is loaded?
I am not very knowledgeable when it comes to jQuery but I would like to be. I would like to have some jQuery that will look at the url and based on what directory it is pointing to, it will "activate/show" acorrespondingdiv. Here is the code I have to show the first div in a list of div's when the page loads. But I would rather this load the div that the url says:
$(".tab_content").hide(); //Hide all content
$("#navbar ul li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content
So if the url is [URL] I would like the div id tag called divtag to show when the page is loaded.
Check this code:
<a>text</a>
<div id="pkg">pkg</div>
<div id="table_pkg">table_pkg</div>
I'd like to show table_pkg and hide pkg when I click on <a>text</a>. How can I do?
I have this Ad Script script:
<HEAD> section
<style type="text/css">
<!--
#sponsorAdDiv {position:absolute; height:1; width:1px; top:0; left:0;}
-->
</style>
<script type="text/javascript">
[Code]...
And i trying to find a way to show a div with text and images just once per day using cookies....i like something like this [URL]
I am new in php.
I want to show every row one by one during processing with check icon in the right side from row 1 up to row n? code...
I would like to show a Div based on the URL.
I'm using PHP to update a database and the page just refreshes when it's done. I'd like to set the URL to something like [URL]
So if the URL had ud=y in it, it would show a div with a specific ID.
In the javaScript function below, is there anything I can add to the window.open so that the parameters passed in the URL do NOT show in the window that is opened? It is okay if the script path shows, I just need to hide the parameters. If that is not possible, can I have it show no URL show at all?
function OpenTest2(ID,course,test)
{
var agree=confirm("Are you sure you want to Launch this test?");
if (agree){
path = "testing_center/frameset.cfm?TestID=" + ID + "&UserID=<CFOUTPUT>#session.userID#</CFOUTPUT>";
window.open(path ,'popuppage','scrollbars=yes,fullscreen=yes');
[Code]...
I made this cart, when I add the same product again, the amount does not change. If the price is 19 dollars for 1 movie... it becomes 191 for 2 movies instead of 38 dollars;
var products = new Array();
loadPage();
function loadPage(){
getCookie();
[Code]....
I am using some simple javascript to show and a hide a div
Code:
function showHide(d) {
if (document.getElementById(d).style.display == "none")
{
document.getElementById(d).style.display = "block";
[Code]...
I have a javascript file that I am including in a page. It works great in IE, but not in firefox. I've basically ignored firefox now for as long as it's been out (big mistake) but now that I finally looked at our user stats (25% firefox!) I can't ignore it anymore.
The goal is to incorporate news content from my news site into my forum, and to only squeeze the forum IF the user browser width is high enough (1024 and higher).
Anyways, here is the code, which is included in a file called "sidebar.js"
if (screen.availwidth>800) {
document.write("<iframe src='http://www.xyz.com/content_sidebar.htm' width=餂' height=񟠠' scrolling=no frameborder=0></iframe>");
}
else;
But, it doesn't do anything on firefox. I tried to search but I don't know what about the code is causing the problem.
i have 5 sections in seperate divs and i am trying to collapse them using anchor onclicks and some js to toggle the display style. I am a little unsure of how to make this piece of code work a little more elegantly(lack of js symantic knowledge). Code:
View 3 Replies View Relatedgives me a type mismatch when I try to hide the div using the function hideTip2? Code:
View 3 Replies View RelatedI have 5 links and 5 divs. When the page loads I've set the visibility of first div to visible and all the rest are hidden. When the user clicks on second link I want to hide all the other divs and show only second. Similarly when the user clicks third link I want to show third div only. You get the idea. Here is what I have so far. Nothing happens when I click the second link.
[Code]...