HTML - Html/carousel Script
my site http://betyoulikeit.com
is done with photoshop slices... photoshop generates tables and now i want to place a carousel script with the rotating images that i can update daily.... -------------------------------------------------- -------------------------------------------------- location of code:(large_blank.png) PHP Code: <tr> <td> <img src="imagesxxx/betyoulikeit_sliced_papers_06.png" width="1" height="1" alt=""></td> <td rowspan="11"> <img src="imagesxxx/betyoulikeit_large_blank.png" width="267" height="528" alt=""></td> <td> <img src="imagesxxx/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> thanks everyone... -tikki Similar Tutorialsi want to use carousel menu of flashxml i have found a faq of how i can change the xml file but it wont work. my idea is if you press on the picture he load another xml fle with links this code is off flash xml http://www.flashxml.net/short-explan...xml-files.html HTML Code: var flashvars = {}; flashvars.settingsXML = "your_filename.xml"; like in this example: <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.settingsXML= "your_filename.xml"; var params = {}; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("ComponentNameFX.swf", "ComponentNameDiv", "600", "300", "9.0.0", false, flashvars, params, so i wanne make it on this way HTML Code: <Carousel centeredImage="images/logo.png" url="http://www.flashxml.net" target="_blank"> <photo image="images/01.jpg" var flashvars = {}; flashvars.settingsXML = "test.xml"; <![CDATA[test<br>test]]></photo> <photo image="images/02.jpg" var flashvars = {}; flashvars.settingsXML = "test2.xml";<![CDATA[It's FREE]]></photo> can somebody help me with this code so that he opens a another xml file with links so its doesn't need to make this menu so many times i hope that you can understand my english its not so good Hi, I am pretty new at web design and just finished a new site, but when I transferred it via FTP, the site looks a mess in IE. In Chrome it looks ok, except for the horizontal scrolling photo gallery isn't working. I have a horizontal scrolling photo gallery on both the index page and on a special gallery page. I am not sure why this is disabled, everything looks perfect when I preview in both Chrome and IE out of Dreamweaver. If anyone could help me, I would GREATLY appreciate it! I already made the site live because in the live preview it worked. I believe I moved everything over and into the correct place (.css etc). Again, I would love it if anyone could help me out. I attached both a screen shot of what it looks like in IE and what it's supposed to look like (taken from a chrome preview shot). When I click the IE error details at the bottom I get this: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SearchToolbar 1.2; GTB7.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C) Timestamp: Tue, 18 Oct 2011 21:15:34 UTC Message: Object expected Line: 17 Char: 2 Code: 0 URI: http://www.hdrestaurants.com/brazenh...lin/index.html Message: 'Cufon' is undefined Line: 125 Char: 2 Code: 0 URI: http://www.hdrestaurants.com/brazenh...lin/index.html However, when I preview in IE7 through Dreamweaver, it just says the Activex controls are preventing it from working, and then when I allow it, it works fine. However, I don't get that option when I actually load it via FTP and make it live. I would love any thoughts or suggestions! Thanks, Leigh Hey all, new here and not a very good coder at all, but i find pieces of information and try and make best of it....and as far i can see i cant find this sort of information on this website my problem is im trying to create a code that will log in to a website, wait a few (i.e. 2 seconds) then go to a second web page that is a part of this site for example --> www.htmlforum.com --> (automate login) --> then go to www.htmlforum.com/example this is what i have found so far </head> <body> <FORM action=http://www.thewebsiteexample.com/login.php method= post name=login> <INPUT class=login_input type=hidden name=usrname value="myusername"> <INPUT class=login_input type=hidden name=uemail value="myemail@hotmail.com"> <INPUT class=login_input type=hidden name=peeword value="mypassword"> <INPUT class=login_input type=submit value=Login> <body onload="document.login.submit();"> </form> </body> this code allows me to log in successfully to the site i wish to go to i also have this code to allow loading of a new page (but works only AFTER successfully logged in) <script> <!-- location.replace("http://www.mywebsiteexample.com/arms.php"); --> </script> my problem is i dont know how to join the code, whereby i successfully log in, then run the script to go to the subpage my idea is to delay running of the script code perhaps? which should then allow to successfully load the subpage...or perhaps you guys know another way help is DEFINITELY very appreciated! cheers all! How to create explorer like menu in Html or java script? eg + Game(inside this Cricket and Football) when click on + sign it become like-- - Game -Cricket -Football Can anybody suggest me, by which command I can do it? Commercial Removals || Removals and Storage||Specialist Removals Hi. I will try to be as specific as I can. I'm new to html. I'm trying to create a html file that when you click on it it takes you to a url embeded in the file. I tried simple anchore, but when I click on the file it open in a windows with hyperlink. I understand that I need to create a script to do that. Can anyone help me? Thanks Hi, I inherited an internal html page that queries a .bat to pull out which users are logged on via rdp to my different servers. Now its suddenly stopped working and I think there's a problem with the html. The .bat runs a quser command against a list of machines which is outputted as a text file. The html page then pulls the info from the text file and should present the data in a readible format. However all I'm getting is a blank html page. The .bat is working because I can see the correct output in the text file. My html script is as follows, could someone take a look and see if it is correct? Thanks for any help! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="PSPad editor, www.pspad.com"> <meta name="description" content="www.northwind.com, northwind Remote Desktop Connection Status" /> <!-- auto refresh page every 360 seconds --> <meta http-equiv="refresh" content="360"> <title>northwind - Remote Desktop Connection Status</title> <style type="text/css"> body {color: #666666; font-family: arial,verdana,tahoma; font-weight: normal; background: #FFFFFF; font-size: 12px;} h2, .grey {color: #666666; font-weight: bold;} h3, .blue {color: #0000CC;} .srvhdr {color: #0000CC; font-weight: bold; } .greenbg {background: #00FF66;} .tbl {border: 3px solid #999999;} a:link, a:visited {color: #0000CC; text-decoration: none } a:hover, a:active {color: #0000CC; text-decoration: underline} </style> </head> <body> <script language="VBScript"> !-- Sub ReadFiles Dim objFSO, objCheckFile, objFile, HeaderList, UserList, s, h,i HeaderList = array(5) UserList = array() Const ForReading = 1 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objCheckFile = objFSO.GetFile("\\northwindbm\Global\Corporate\Query_RDP_MODWK\Result_Quser.txt") 'check file exists' If objCheckFile.Size > 0 Then 'open text file' Set objFile = objFSO.OpenTextFile("\\northwindbm\Global\Corporate\Query_RDP_MODWK\Result_Quser.txt", ForReading) 'read each line' Do Until objFile.AtEndOfStream strNextLine = objFile.Readline 'if server name then create new row and insert name s = Instr(1, strNextLine, "MODWK", 1) j = Instr(1, strNextLine, "USERNAME", 1) 'SERVER' if s > 0 then document.write ("<tr><td colspan=6 class=srvhdr>" & strNextLine & "</td>") document.write ("<td width=1%> </td></tr>") else 'not server include headers and / or user data 'remove leading spaces' strNextLine = trim(strNextLine) 'replace 2 consecutive spaces with1 Do While InStr(1, strNextLine, " ") strNextLine = Replace(strNextLine, " ", " ") Loop if j > 0 then HeaderList = Split(trim(strNextLine), Chr(32)) document.write ("<tr><td width=15% class=grey>" & HeaderList(0) & "</td>") document.write ("<td width=15% class=grey>" & HeaderList(1) & "</td>") document.write ("<td width=15% class=grey>" & HeaderList(2) & "</td>") document.write ("<td width=15% class=grey>" & HeaderList(3) & "</td>") document.write ("<td width=15% class=grey>" & HeaderList(4) & "</td>") document.write ("<td width=15% class=grey>" & HeaderList(5) & "</td>") document.write ("<td class=greybg> </td></tr>") erase HeaderList else UserList = Split(trim(strNextLine), Chr(32)) ' if session name is blank update array' i = InStr(1, UserList(1), "rdp", 1) if i = 0 then ReDim Preserve UserList(6) UserList(6) = UserList(5) UserList(5) = UserList(4) UserList(4) = UserList(3) UserList(3) = UserList(2) UserList(2) = UserList(1) UserList(1) = " -" end if document.write ("<tr><td width=15%>" & UserList(0) & "</td>") document.write ("<td width=15%>" & UserList(1) & "</td>") document.write ("<td width=15%>" & UserList(2) & "</td>") document.write ("<td width=15%>" & UserList(3) & "</td>") document.write ("<td width=15%>" & UserList(4) & "</td>") document.write ("<td width=15%>" & UserList(5) & " (" & UserList(6) & ")</td>") document.write ("<td class=greenbg> </td></tr>") erase UserList end if end if Loop Else document.write ("<tr><td colspan=6>The file is empty.</td></tr>") End If objFile.Close End Sub document.write("<div align=center><h2>northwind</h2>") document.write("<h3>Remote Desktop Connection Status</h3>") document.write("Page loaded : <em class=blue>" & Date & " " & Time & "</em> <br />") document.write("<table border=1 cellpadding=2 cellspacing=2 width=90% class=tbl>") ReadFiles() document.write("</table><br />") document.write("Any queries please contact : <em> <a href=mailto:Steven.Blogss@northwind.com> Steven Blogs (Network Administrator)</a></em></div>") --> </script> <br > </body> </html> Hi, My friend asked me to do a script for a phpBB2 forum where he has an application on an external website, and when the user clicks submit, it automatically posts a new topic in the "application" section, with the application in it. I am not sure if this is possible, but I am willing to give it a go. I made a script where the applicant clicks 'submit', and it automatically brings him to the main forum page, and already logged in. There is no problem with having the username and password as plain text, as registration is free anyway and the account will just be 'appbot' or something. This is what I have so far: Code: <form action="http://www.website.com/login.php" method="post"> <input type="hidden" name="username" value="username" /> <input type="hidden" name="password" value="password" /> <input type="hidden" name="redirect" value="" /> <input type="submit" value="Go to Forum!" /> </form> I was wondering if it is possible to navigate through both the login and the new topic button and create the new topic without redirecting the user, or if that isn't possible to at least have the user click the button and then be redirected to the new post (which is already made by the script) rather then the main page. Thanks P.S. - I am only asking for the website navigation I should be fine for the inputting of the application and converting it to a post. I am having trouble trying to create a table that each table cell changes colour on mouseover and mouseout. I have posted my codes so far where I have managed to change the cursor on mouseover and mouseout. Any help would be most appreciated. This is table.html Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="/Tests/table.js"></script> </head> <body> test table <table border="1" class="pictures" style="margin-left: 300px" width="300px"> <tr > <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>1</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>2</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>3</p></td> </tr> <tr> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>4</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>5</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>6</p></td> </tr> <tr> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>7</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>8</p></td> <td onmouseover="cursor_hand()" onmouseout="cursor_clear()"><p>9</p></td> </tr> </table> </body> </html> This is table.js Code: function cursor_hand(){ document.body.style.cursor = 'pointer'; } function cursor_clear() { document.body.style.cursor = 'default'; } How can I run HTML from Javascript? What I mean is that from etc. index.html I will load a file.js script, which will include the whole HTML. Not sure if I can explain myself correctly, do you know what I mean? Ok I here I go... Well, hey wassup? Im a TERRIBLE HTML scripter... I would appeciate it if you guys could make me a star rating system for my gaming site... If it's possible, please make the starts into sticks of dynomite I dont check my HTML forums that much, so go to www.youtube.com/tecknoobie and send me the URL of the Forum post that I made so I could see the script... Thanks I found a good pagination script. But, the CONTENT of the pagination script is all PHP. I want the CONTENT of it to be HTML, see- here's the code I want to change: HTML Code: <?php // some example data foreach (range(1, 100) as $value) { $products[] = array( 'Product' => 'Product '.$value, 'Price' => rand(100, 1000), ); } ?> See where it says "foreach (range1, 100) as $value)" I want that to change to an HTML item. Right now it's displaying #s 1-100, but I want it to display individual HTML tables instead. Is this possible? Hey everyone. Is it possible for me to include a php script on an HTML page? I was thinking it might be possible to include it as an I frame. Is this possible? Hi, i am creating a web page dynamically through ajax like this here i am creating a td element and appending a button element to it Code: var td5= document.createElement("TD"); td5.style.whiteSpace = "nowrap"; td5.setAttribute("id", "button" + hostname); var button=document.createElement("input"); button.setAttribute("type", "button"); button.setAttribute("id", "updatebutton" + hostname); button.setAttribute("value", "Click here"); button.setAttribute("onclick", "alert('OK')"); td5.appendChild(button); it appearing good on web page the but when i click the button, where i am not getting supposed alert Code: button.setAttribute("onclick", "alert('OK')"); line is not showing effect and when i try like this Code: button.onclick=new Function (alert('hi')); when my IE loads the page i am getting alert where as , alert must come after clicking the button any work around please Thanks R Hey guys, I've been having some trouble figuring this out for the last couple days. I am trying to add a delete option, and it deletes, BUT prompts an error message. Attribute validation error for tag cfoutput. The value of the attribute query, which is currently dirQuery, is invalid. The error occurred in C:\inetpub\wwwroot\EXAMPLEURL.com\admin\upload.cfm: line 51 49 : <table> 50 : <!---Start the looping query---> 51 : <cfoutput query="dirQuery"> 52 : 53 : <CFIF name IS NOT "upload.cfm"> _________________________ The code i have for this page so far is this: <CFSET SendFileTo = "C:/inetpub/wwwroot/EXAMPLEURL.com/"> <CFPARAM NAME="Action" DEFAULT=""> <title>Admin Panel | Upload</title> <html> <body> <CFIF Action IS ""> <!---Get all the files in the current directory---> <cfdirectory directory="#SendFileTo#" name="dirQuery" action="LIST" FILTER="*.pdf" sort="Name, Type"> <!---Show all the files---> <table> <tr> <td colspan="2" align="center"><img src="../Images/logo.jpg" alt=" Admin" width="333" height="120" /></td> </tr></table>Files must be in .pdf format </CFIF> <CFIF isDefined("form.FileContents")> <cffile action = "upload" fileField = "FileContents" destination = "#SendFileTo#" nameconflict="makeunique"> <P style="color: red;">File has been successfully uploaded.<br /> click the below link to view new content. </P> <a href="upload.cfm"><b>[Click here to update list.] </a></b> </CFIF> <!---If the "Delete" link has been clicked, then remove the file that was passed in the URL string---> <CFIF Action IS "Delete"> <cffile action = "delete" file = "#SendFileTo##FileName#"> <P style="color: red;"><b>File has been successfully removed on the server.</P><b/> <a href="upload.cfm"> <b><h1>[ Click here to go back ].</a></b></h1> </CFIF> <!---Show the upload form---> <br /><form method="post" action=<cfoutput>#cgi.script_name#</cfoutput> name="uploadForm" enctype="multipart/form-data"> <br /> <input name="FileContents" type="file"> <br /> <br /> <input name="submit" type="submit" value="Upload File"> </form> <!---Get all the files in the current directory---> <table> <!---Start the looping query---> <cfoutput query="dirQuery"> <CFIF name IS NOT "upload.cfm"> <tr> <td><a href="#cgi.SCRIPT_NAME#?action=delete&fileName=#name#">[ Delete ]</a></td> <td><A href="http://www.EXAMPLEURL/#name#">[ View/Download ]</a></td> <td>#name#</td> </tr> </CFIF> </cfoutput> </table> <br /><br /> <a href="members_only.cfm">Click here to go back.</a> </body> </html> is there a better way than this (below) to style Script and Code, to look like script and code when written/typed in html? For instance how does the [ HTML ] [ /HTML ] in this forum work? HTML Code: <style type="text/css"> .csslook { font-family: "Courier New", Courier, monospace; font-size: 12px;} .darkpink {color:#990099;} .green {color:#006600;} .pink {color:#FF00FF;} .darkblue {color:#000099;} .blue {color:#0000FF;} </style> <div class="csslook"> <span class="darkpink"><style type=<span class="green">"text/css"</span>></span><br> <span class="pink">#mainContent {</span><br> <span class="darkblue">padding</span><span class="pink">:<span class="blue">0px 1px 0px 1px</span>;</span><br> <span class="darkblue">border-width</span><span class="pink">:<span class="blue">1px 2px 2px 1px</span>;</span><br> <span class="darkblue">border-style</span><span class="pink">:<span class="blue">solid</span>;</span><br> <span class="darkblue">background</span><span class="pink">:<span class="blue">#faf6f6</span>;</span><br> <span class="darkblue">color</span><span class="pink">:<span class="blue">#000</span>;</span><br> <span class="darkblue">border-color</span><span class="pink">:<span class="blue">#edd #baa #baa #eed</span>;</span><br> <span class="darkblue">font-family</span><span class="pink">:<span class="blue">Arial, Helvetica, sans-serif</span>;</span><br> <span class="darkblue">size</span><span class="pink">:<span class="blue">12px</span>;}</span></span><br> <span class="darkblue"></div></span> </div> i need a html script that shows the nick of the guy who view it. for example if my nick is yahavx, than ill see "yahavx" and whoever named killer will see instead "killer" not sure if thats html script but i think so... its for vb forum. example: http://sleepywood.net/forum/showthread.php?t=1523448 (its off right now for some reason) thanks. Hi, I am newbie in creating web page. I am wondering can I create a html button to call the perl script. Is this possible? im having trouble making a form with lots of rules in it. i have a html script that was written for me some years ago for my old website that consists of 3 vertical colums. this script can be emailed to you if you like or viewed (not working) at www.thepclub.weebly.com/moonee-ponds.html and in text form at the end of this page the script was written to be submitmitted and then go to a php page which sent me the email. i have sice now moved to use the weebly website builder which is free and very user friendly for novices like me....however as this script is the whole purpose behind my website i am in a pickle about how to recreate a similar alternative using Jotform (or any other html builder) which will be embedded inthe weebly drag and drop builder the background story is i run a fanstasy sports competiton between myself and 9 other friends. each team has 45 names in it. each friday a user will log in to his page and of the 45 must move 18 to the left colum called team and 6 to the right colum called emergency. the purpose being the 18 are that teams squad for the week and the 6 are backups. the beauty of my old script was there was no loopholes in it, in that * no player could be selected more than once * i would get an email showing in which order each player was chosen (this is particulaly important for the emergency players given the user would rank them so that the best possible emergency player was as the top of the list to come into the team if needed) * finally a line of script was built in alerting a user if he has chosen too many or too players than the 18 and 6 required and not allow the form to be submitted unless it had the correct amount of players. ok so that it in a nutshell and id love to recreate it or something with a similar beahaviour however here are the issues i have i now use weebly website builder and it will allow me to put a custom script html box WILL NOT allow php WILL NOT allow uploading of any other files via FTP to their webserver i had a go at making something in jotform (from builder) which looked totally different but has potential to get the same result but cant work out how to implement it given the limitaions of weebly as shown above and the rules i need to enforce i really need a script which is stand alone which i can embed into the weebly webpage that can alert/prevent too many or too few players from being submitted (most important) also tell me in which order the names were selected (2nd most important) and hopefully not allow a user to choose any player twice.....keeping in mind it all has to be within a single script and not look for PHP or need any other files uploaded to the webserver. it looks like a tall order...... if you cant go to the website, here is the origianl script used which weebly cannot support..... Hi, I was wondering how i can link to my script file instead of having it stored in the head. At the moment i am only using javascript and i dont like it in the head because it looks messy. My site has 2 columns and the script simply makes sure colum 1 and column 2 always have the same height to retain the layout because i'm using background images. I have saved the script in as scripts.js and it looks like this. Code: function fixH(one,two) { if (document.getElementById(one)) { var lh=document.getElementById(one).offsetHeight; var rh=document.getElementById(two).offsetHeight; var nh = Math.max(lh, rh); document.getElementById(one).style.height=nh+"px"; document.getElementById(two).style.height=nh+"px"; } } window.onload=function(){ fixH('column1','column2'); } Ok now back in my html head where i would usually put the actual script i have put: Code: <script src="scripts.js" type="text/JavaScript"></script> I was hoping this would work but it doesn't seem to be working. When i preview the page locally in IE6 it pops up to say something has been blocked which i guess is the javasript. Maybe i need to upload to web server and test but wanted to post here to see if i did it correct in the first place. Any help would be greatly appreciated. Rick Greetings I don't understand php at all and i have page in HTML. Now i have this guestbook script that i would really much like to add to the html page, so what now? My apache server can handle php and everything in the server end is right, but when i put this in to my html page: include($path."comment.php"); Nothing happens, now i suspect that i need to turn the whole page in to PHP. However i don't know how to do this, could anyone tell me how do i turn this page to PHP and get it to work? What is the code i need to put in to my html page? Please help this is important to me, thank you inadvance! Turhamuro |