How To Make A Questionnaire That Shows Pictures On The Next Site
Jan 24, 2005
The problem is that I wanted to do a web page where you can choose the characteristics that you expect your dog to have and on the next page the pictures of the dog should be shown. I did a questionnaire where the visitor can fill in the attributes of his dream dog. This is done in a selection field. The different values should bring the dog breed that can be taken into consideration. Additionally there should be a box to tick if something is absolutely necessary.
I made the site for this as well, but I don’t really know how to work the part out.
I hope someone can give me hint.
This is the part with the function. I only took one as an example:
<script language="JavaScript" type="text/javascript">
<!--
dtschaeferh = Image
dtschaeferh.scr="dtschaeferh.jpg"
function mobile()
var newWindow=window.open("", "mobilephonemarket")
if (document.forms.groesse.value<>"klein") ||(document.forms.famhund.value<>"15") ||
(document.checkbox.unbedingt_famhund.value<>"true") || (document.forms.HDfrei.value<>"15") || (document.checkbox.unbedingt_HDfrei.value<>"true")
{
return document.dtschaeferh.src="dtschaeferh.jpg"
}
newWindow = window.open("Hundevergleich.html")
mobileWindow.document.writeln("<html><head></html>")
mobileWindow.document.writeln("<body>")
//-->
</script>
This is the pull down menu:
<tr>
<td style="vertical-align: middle;"><a href="javascript:infofenster('groesse')"><img src="images/sp_info.gif" width=21 height=11 border=0 alt=""></a> Measurements</td>
<td align="center"><select name="groesse" style="width:100px;"><option value="klein" selected>klein</option><option value="mittel">mittel</option><option value="gross">groß</option></select></td>
</tr>
<tr>
<td style="vertical-align: middle;"><a href="javascript:infofenster('gewicht')"><img src="images/sp_info.gif" width=21 height=11 border=0 alt=""></a> Weight</td>
<td align="center"><select name="gewicht" style="width:100px;"><option value="15">sehr wichtig</option><option value="10" selected>wichtig</option><option value="5">egal</option></select></td>
</tr>
<center><input type="submit" name="submit" value="Finde Hunderassen"><input type="reset" value="Zurücksetzen"></center>
This is on the following page:
<body
<table><tr>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
<td><img scr=““ name““></td>
</tr></table>
I hope someone can help me, because I am getting mad with this page.
View 2 Replies
ADVERTISEMENT
Feb 10, 2011
I saw this on the website for the new blackberry playbook and want to do something similar to that. [url]... Does anyone know of a script that will let me have 5 pictures or so and it will automatically go through them all but you can fastforward to the picture you like by clicking on a dot at the bottom like on the blackberry website? Hope I explained that well enough
View 5 Replies
View Related
Jun 29, 2011
The jQuery Cycle Plugin is very good, My site is usingit on the home page, the code is exactly as on the basic example here: [URL] The example above works very good in all browsers, except of Internet Explorer 9. In Internet explorer, for some reason, it just shows all pictures at the same time (please see the screenshot capture attached). I'm just wondering if anyone else has bumped into the same problem and if there is any way to fix it.
[Code]...
View 5 Replies
View Related
Jul 20, 2005
Is this how it's done? IE 6.0 after opening bigger.html in a new page,
then shows the site directory contens in the main window. ?!
The popup page bigger.html shows a larger pic of a product. In my main
page I define a function 'open_popup' and call it for all the product
images, in case the customer wants a bigger pictures.
function open_popup(page) {
window.open(page,'Larger_Image','width=400,height= 300,resizable=yes,toolbar=no,statusbar=no,scrollba rs=no');
}
<body>
<a href="" onclick="return open_popup('bigger.html')">
<img src="small.jpg" alt="Small" width="50" height="50"></a>
Any advice? If this is a really bad thing to do then what's
reommended?
View 4 Replies
View Related
May 19, 2010
I have an array "personen" I first show in an list in "divLijstDerPersonen" and eliminated the Duplicates. When I click on a name in that list I get a column from all the "personen" with that name. function link_Click() Now I want to make another div with all the details, pictures etc from the person I select in that colomn. function iets_click() but for some reason I'm not able to get the document.getElementById("autoid" + i);
[Code]...
View 2 Replies
View Related
Aug 17, 2005
I want to have multiple small pictures on my site(lats say 9 - box of 3x3). I want to make an interface in which user will be able to select 2 pictures and press the submit button.
So i want to get the numbers of the 2 selected pictures(lets say they have numers representing them 1,2,3,4...) in the POST variable so i can do something with them in my PHP scripts.
View 5 Replies
View Related
May 4, 2011
I'm confused about this as I am very very new to JavaScript.
I am using a number of photos on one page that are selectable to then move over to a second page with a working slide on it.
I need the user to be able to select 4 of the pictures and have their selections be viewable in page 2 slide show. How would I do this? I'm very confused
View 3 Replies
View Related
Feb 15, 2011
I have been using this sideshow example which works great but I want to be able to click on the slideshow picture to take me to another link (hyperlink)
I also wanted to have links next to the slidehsow which would go to a certain picture in the slideshow for example by pressing link "go to picture 3" it would scroll automatically to picture 3 in the slideshow
I have been using examples from: [URL] this but I am willing to change to another version if I can't do that with this slideshow scrit
View 1 Replies
View Related
Feb 22, 2010
I have script for moving background:
It works normally - but don't work lightbox script for pictures of the site, so IE 8 write such: Object doesn'n work with prototype.js and mootools.js. CMS is a MODx, please, tell me how to make work this scripts correctly and together?
View 1 Replies
View Related
Nov 30, 2011
Is it possible to make an app that creates a gif that shows the process of a finished drawing?Im a kid and love drawing and gif :).i wanna make app that shows a replay of my initial start of my drawing till the finish product of my drawing in a gif file.
View 1 Replies
View Related
Jan 26, 2010
I have the var movies drop down numbers (movddn) and I want to make a similar var for a series of other pictures. so:
And Final product:
But it just doesn't work... I have no problem adding vars together in other areas and in many other instances but for some reason this won't work.
View 2 Replies
View Related
Apr 6, 2010
A Client of mine wants a popup window to appear when a visitor to his site tries to leave. In this popup window he wants to ask 4 simple questions and offer a free gift.As popups are unpopular, and are generally blocked I went looking for another way round the problem.In some sites that I see now, I see a confirm box asking "Are you sure you want to leave this page?"Sometimes with a customised message in there as well.I was thinking of using something similar, and when the visitor presses "cancel" (to stay on the page and prevent the window closing) to then show the popup (either redirect to new page or use modal dialog overlay box, eg jQuery Thickbox).
View 10 Replies
View Related
Oct 8, 2011
I kinda stuck at this point on my php script, it has this javascript code and I stuck there:
Line 16:
echo("<script language="JavaScript">
function openptc(tpge,pnme,w,h){
settings="width=" + w + ",height=" + h + ",scrollbars=yes,location=no,directories=no,status=1,menubar=no,toolbar=no,resizable=no";
window.open(tpge,pnme,settings);
}
//-->
</script>");
Line 72:
print "<td><a href="#" onClick="openptc('./paidtoclick.php?adid=$row[linkid]&action=start&".session_name()."=".session_id()."','PaidtoClickPage','640','480');"><b>Click Here To View</b></a><tr>";
I think those 2 lines actually are my problem. This code makes the site open in a new pop up window. how to make it open in a new tab.
View 2 Replies
View Related
Jan 8, 2011
Could someone tell me how to make this site: http://webpages.charter.net/jelsinge...e/history.html compatible with those who use the Internet with JavaScript disabled? I really want to have the slideshow but is there a way I can have the site look good if someone disables JavaScript?v
View 5 Replies
View Related
Aug 6, 2010
i have to make a simple site for my sister and i am kind of a newbie at the whole web development thing am pretty ok with html tho. wo i was trying to make a slide show on the front page of the site, so i got a little help from a site called java script city,
var my_imgs_off = new Array();
var my_imgs_on = new Array();
/* Set "Off" image URLs */
[code]....
View 2 Replies
View Related
Feb 23, 2009
I remember a while back there was an article published on here explaining how to make the pop up footer that appears on the site with an advert for a book in it.
View 2 Replies
View Related
Sep 1, 2010
I am looking for a upload form to upload pictures and then when the pictures are uploaded, then they get emailed to me. Kind of like a contact form but attached is the pictures.
View 1 Replies
View Related
Feb 10, 2011
I want to use an image map for something unique. The image would have about 10 to 15 (religious) symbols. When the user clicks on a particular symbol it will search the site for a few strings relating to that symbol. For example: Symbol 1 would be a cross when clicked it search the site for "christ, crucifix, christianity". I am sure I can make the image map but how do I make the image map call a function instead of a link.
View 7 Replies
View Related
Aug 30, 2010
I have an array like this:
I need to compare these array items to my site div id's and make an onblur functionality that changes the input field value.
It does not change the selected input field value(this.value). And it only alerts when blurring from the input field that is first in the array(id1). If i click to the input field id="id2" it does not alarm?
View 2 Replies
View Related
Oct 11, 2009
i want to make a iframe page that loading a page from other site. I have try "jQuery iFrame Sizing" to set auto height in iframe... but it is failed.
This is my code :
-------------
on Head
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/iframe.js"></script>
on Body
[Code]....
View 1 Replies
View Related
Jul 13, 2010
I'm trying to create a questionnaire style series of radio buttons which are hidden and then a different set of radio buttons displayed depending on the previous answer. eg
Q1 Is it a man? (if select yes then display)
Q2 Is he called John? (if no then display)
Q3 Is he called Gary? and so on...
I've been testing using the code below but wondered if anyone had any ideas on how this could be done easily?
View 2 Replies
View Related
Aug 7, 2005
I'm new at Javascript, and have written a script for a series of random
roll-over button images, but one thing I would like to add is a function
that checks to make sure that there are no duplicates in the randomly
generated variables that choose the pictures.
Can anyone give me a hand with this? One other thing I can't seem to figure
out is how to manage the "onLoad" aspect of caching my roll-over images (DW
has locked the <body onload> function into a template, so I can't mess with
it...). so my rollover graphics are grabbed from the server in "real time"
during mouse-over, which is a bit "goofy" and "slow" in terms of instant
rollover effect. I'm sure that there is a much more efficient way of doing
this, but I've been able to learn a lot by tweaking DW's way of doing
things, so it's not a total loss.
In an external JS file, I set up a series of 10 random variables using the
Math.random and Math.round functions like so:
var btn0 = Math.random()*100;
btn0 = Math.round(btn0);
var btn1 = Math.random()*100;
btn1 = Math.round(btn1); .... etc for 10 buttons
Then in my page, I piggy-back onto Dreamweaver's built-in roll-over
handlers, like so (to write the instances of each rollover image);
<script>document.write('<a href="link1.htm" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('pic1','','images/btns/'+btn0+'b.jpg',1)"><img
src="images/btn/'+btn0+'a.jpg" name="pic1" width="80" height="100"
border="0"></a>');</script>
For this particular page, I'm pretty much stuck with DW's coding because
it's locked into a template that governs my site navigation. Thanks for any
pointers or help ...
View 4 Replies
View Related
Jul 20, 2005
What is the javascript for reloading images upon the loading of each
page on a website. Also, how do I implement this in the HTML.
View 3 Replies
View Related
Mar 10, 2011
Should I just make this a small video, or will JS be able to handle around 25 pictures without being really slow?
View 1 Replies
View Related
Mar 15, 2006
Is it possible to rotate pictures 45°CW for each click using javascript?
View 1 Replies
View Related
Oct 20, 2010
do ya know an efficient way to get the coordinates of a pictures so that I can use them to create a map? It is a rectangle. Here is the code I set up for a page:
<HTML>
<HEAD>
<TITLE>Cyrus</TITLE>
</HEAD>
<BODY BGCOLOR=black>
<div align="center">
<table border="0"; cellspacing="0"; cellpadding="0">
[Code]..
View 26 Replies
View Related