Pop-Up Not Showing
Jul 23, 2005
I know this is a silly question! I have written some code that requires
a pop-up window to come up for the user to confirm that he/she does
want to purchase the goods they've ordered. The problem i have is that
if they have blocked pop-ups then that window won't show up and the
order will get confirmed without approval. Is there a command or a
work-around for this pop-up to be dispayed no matter the settings?
View 9 Replies
ADVERTISEMENT
Jul 23, 2005
I have something like this in a function:
....
var box = document.getElementById("box");
box.style.visibility = 'hidden'
....
This hides a div setup like the following:
<div id="box">
<table>
<tr><td>Content1</td></tr>
</table>
</div>
But, what if I want to have a another table
replace the table in the div above.
Say I want something like this to replace it:
<table>
<tr><td>Content2</td></tr>
</table>
For this example I have used simple content in my divs. But, in th real case, the div has a large group of nested tables of data.
I want the two to occupy the same space, so when one becomes hidden and the other becomes
visible, it is like they are replacing one another.
Since I have such large amounts of data in one of the tables, I do not want to user innerHTML to do the replacement. Is there any other way I can do it?
View 5 Replies
View Related
Jul 23, 2005
My Internet Explorer (version 6, on Wind. Mill.) suddenly stopped displaying XBM images, for no apparent reason. I now get the dreaded missing-image icon, where previously there would be a nice black-n-picture, whether created locally with Javascript or called in as an .xbm file. (See
http://www.tau.ac.il/images/large/Images.html or http://4umi.com/image/xbm/ for examples.)
Where do I even begin to look for the cause of this, and how do I remedy it?
View 5 Replies
View Related
Aug 7, 2009
I have a javascript banner on my site which is working perfectly. however if the user goes to my domain without www. infront of the address the banner is non existent. I'm pretty sure there should be some kind of option for this on my hosts control panel but I can't find anything on it however. (bluehost)
or is there something else that must be done?
View 2 Replies
View Related
Sep 29, 2010
i am having some problem showing and hiding some divi want to show the div with the id="universitiesDiv" on one point and the div id="highSchoolsDiv" on another depending on the user choice of selected option.
function Show (titleImg){
// the id of the content element from the id of the title element
var contentID = titleImg.id.replace (/title/, "content");
[code]....
View 11 Replies
View Related
May 10, 2009
I need help badly on the div tags. I dont have much knowledge on div tags.I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug.When I scroll my browser to the end, the div is still shown at the upper part of the browser. Unless i scroll up (as a programmer, I know that div will be showing up but ofcourse user will not know) I dont know whether the div is shown.Whether the user scrolls up or down, he should be viewing the alert which I show him.
View 3 Replies
View Related
Oct 7, 2009
Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url.Example is by enteringmywebsite.com/index.php?dog=dogs it returns "a dog"mywebsite.com/index.php?dog=littledog returns "a little dog"What I would like to do is display the output of the urls to my webpage using javascript in popups. I have the pops written already I just need to be able to display the output.Please note that some of the pages are html so I would like to do this in javascript.
View 1 Replies
View Related
Jul 31, 2011
I'm using javascript for my client validation and I would like this to work the way I wanted to. I have three textboxes for last name, middle name and firstname. All the fields are mandatory and if the form is submitted there would be an error to display below the textbox. The problem now is I couldn't show three errors at once. I could only show one error at a time. The error msgs are specific that is "Last name required", "First name requiredHere's my JS structure
function validate()
{
if (textbox1 == empty)
[code]....
View 8 Replies
View Related
Feb 8, 2010
I used JavaScript based tab navigation in this page which is working properly in every browser including IE8, except IE6 which is giving error "object expected on line1". Could you please point out the problem what causing this error. The URL is given below
[url]....
I am using this JavaScript file on that page ResidentialTabNavi.js
View 16 Replies
View Related
Jul 4, 2005
I am trying to get FCKeditor to work on my website using php.
//basic editor:
$oFCKeditor = new FCKeditor('tech') ;
$sBasePath = $base.'admin/fckeditor/'
//$sBasePath = $_SERVER['PHP_SELF'] ;
//$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "admin" ) ) ;
$oFCKeditor->Config['CustomConfigurationsPath'] = $sBasePath.'myConfig2.js'
$oFCKeditor->Config['EditorAreaCSS'] = $base.'styles/default.css'
$oFCKeditor->BasePath = $sBasePath ;
$oFCKeditor->ToolbarSet = 'Macarbi' ;
$oFCKeditor->Config['SkinPath'] = $sBasePath.'editor/skins/office2003/'
$oFCKeditor->Value = $tech;
where $base is: $base = '/home/public_html/'
this works fine on my development machine (Windows).
I upload to my prod server (Linux) and get a 404 error. (I changed the path and it is definately right. i have check about a million times!).
I try change the base to a relative url (./) and it seems to find it, but gives me a blank area. looking at the source it is doing loading and creating the correct code (the same as the code from my dev machine, but just with the relitive paths).
View 1 Replies
View Related
Aug 27, 2005
I made this script, always works but for some weird resion it just doesn`t work any more,
Does any one know why.
<script>
function layers( divID )
{
if (document.getElementById) { obj = document.getElementById(divID); }
else if (document.all) { obj = document.all[divID]; }
else if (document.layers) { obj = document.layers[divID]; }
return obj;
}
function show_layer ( divID )
{
var obj = layers ( divID );
obj.style.display == ''
}
show_layer ( 'test' );
</script>
<div id='test' style='display:none;'> this is a test layer </div>
View 1 Replies
View Related
Mar 7, 2003
I have a javascript pop up on some of my links. when you click on the link and the pop up window opens, you see the address to that page for a few seconds on the top of popup window....
View 3 Replies
View Related
Sep 28, 2010
i am having some problem showing and hiding some div.i want to show the div with the id="universitiesDiv" on one point and the div id="highSchoolsDiv" on another depending on the user choice of selected option.
View 10 Replies
View Related
Oct 30, 2010
I was wondering if anyone wanted to take a shot at re-factoring my code. I am not a javascript guru, and I would like some feedback on what I could do to make it better.The code shows/hides the top div, and when the top div is hidden, the bottom div takes up the space of the top div.
View 3 Replies
View Related
Jul 23, 2005
I am building a web page to show a TCP/IP raw packet.
I need to show "special characters" on the web page I am working on.
When I say "special characters" i am talking about tabs, whitespace,
crazy unicode characters, etc etc.
What is the best way to present this to the user?
I am thinking that a large textarea is the only way to display it so it
retains all the special characters.
View 3 Replies
View Related
Jan 6, 2011
I am interested in creating a footer that always shows on the page even when the user has to scroll down to see the rest of the page. It should be sort like an iframe, but I am interested in a achieving this using a DIV element instead. I am not sure how this kind of effect is called and created.
View 1 Replies
View Related
Aug 10, 2009
I installed the Superfish Module and all appears to be workingproperly, My question is The Original Horizontal Nav is still showingup? How do I Disable?Also, The links with drop down's are gray and the links with nodropdown are red?
View 2 Replies
View Related
Aug 28, 2010
This is a strange problem, because I have done this about 50 times, but this time it is not working. I want to show a loading gif when a user submits a form.
<form id="uploadForm" enctype="multipart/form-data" action="" method="POST">
<!-- DOM omitted. The form submits just fine.
<div id="loadgif"></div>
[code]....
View 4 Replies
View Related
Nov 2, 2011
If i remember correctly, even with an ajax call where the method = "get" it should show up in the url but, it doesnt seem to.....what's the issue with the code?
The following makes the arrow disapear when clicked
The following is the ajax call to change the vote
View 2 Replies
View Related
Mar 4, 2009
popup menus not showing on IE6?
View 6 Replies
View Related
Mar 14, 2009
I just spent 3 hours analyzing tons of lightboxes, image galleries, jQuery plugins. Now I'm a bit frustrated.I don't want a snazzy animation effect.I don't want a pre-made layout.This is what I want:On page load, 12-15 bigger images are preloaded into browser cache.Div#container contains a default image.When user clicks a thumbnail link, the corresponding (bigger) preloaded image shows inside #container.
View 1 Replies
View Related
May 6, 2009
I have a bulletted list on one side, and when the user rolls over, information (text and sometimes a picture) about the topic pops up on the right side. I'm retrieving simple html files and using Javascript innerHTML to accomplish this. Everything is working perfectly in Firefox and Opera. In Internet Explorer, I have a very strange bug. The text appears just fine, but images in the html files don't. There is just a blank space the size of the image. There's no little "can't find image" icon either, just blank space. Here's my code:
function showtext(filename){
if (!document.getElementById) return;
if(navigator.appName == "Microsoft Internet Explorer")
[code]....
View 43 Replies
View Related
Aug 10, 2009
i have my folder with index page in named "tester_fixed.html" and then a folder for images where i have place header1 header 2 and header 3 . i downloaded a script from [URL] and edited my images in and i think i mucked up as they are not showing.
the code:
<script type="text/javascript">
// Flexible Image Slideshow- By JavaScriptKit.com (http://www.javascriptkit.com)
// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
[Code]....
View 2 Replies
View Related
Oct 29, 2009
I have a form with text boxes which I need to display values ie. <input type="text" name="image_ref" value="image1" />
This works no porblem until I enter the below javscript onto the page:
<script type="text/javascript">
var level1 = document.getElementById('level1');
level1.style.display = 'none';
var level2 = document.getElementById('level2');
[Code]....
This code is to hide certain parts of the form until they are activated. the problem is when the parts of the form are activated and displayed, the values inthe text input boxes do not show.
View 4 Replies
View Related
Mar 8, 2010
i have a css/div box, and i have a login form. what im tryn to do is make it so that when i login, it it takes whats in the action of the form and shows it in the div box. the div box is like one of those cool popup boxes, it's done by using javascript and css.
anyway, the div box works. the login form works. i just haven't been able to figure out how to get it to appear in the div instead of into a new page.
here's my code:
<head><link rel="stylesheet" type="text/css" href="main.css" />
<link rel="stylesheet" type="text/css" href="popup.css" /></head>
<form name="Login" method="post" action="login/check.php">
<table border="0" cellpadding="0" cellspacing="0">
[Code].....
View 7 Replies
View Related
Dec 30, 2010
I apologise if this is in the wrong section. I have built a website using iframes at: [URL] but when clicking through the menu, the address bar still stays at [URL] no matter which page is loaded into the iframe. I have seen a number of javascripts around that can change this, but most do not seem to work anymore. Has anyone a sure way to correct this please :)
View 8 Replies
View Related