HTML - 1st Post - Can't Understand Instructions!
Hi all,
I bought a theme from themeforrest and I can't understand the instructions. The theme is he http://codehunk.eifh.net/insignio/ The instructions are he http://www.tristandavis.co.uk/documentation I am trying to turn the "quote" form info a simple message form but it won't validate when I remove the feilds that I don't want. Does this make sence to anyone? And if so does anyone know how to fix it. I am assured that the documentation is very clear, but its all greek to me. Similar TutorialsI'm checking my site with the validator.w3 site, and it shows errors and instructions to fix the errors. can you help me with these two? What should this line of code look like corrected, please? Validator code & instructions: Code: (var i =0; i < cb.elements.length; i++)You tried to include the "<" character in your page: you should escape it as "<" What does this line of code need? Validator code & instructions: Code: <img src="themes/default/images/logo.jpg" border="0" />The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element. Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>. thanks Hello all mates! I am working with my forum trying to properly edit the html for the posts so that they will display any custom script/html of my choice. I want this to appear in ONLY the first post in every thread. I am also trying to find out how to make a bot that automatically posts another second post in every thread, with my own custom scripts/html. At the moment I am trying to add some adsense ads this way. What I am looking for is two things: 1 - How to get the adsense ad aligned to either right or left of the text within the first post. 2 - How to get an adsense bot autopost an ad as post number 2 in any thread (including being applied to all threads already existing) I am using IPB3. I previously used Adsense Bot for IPB2, and that worked fine, but it is not supported for IPB3. It uses the Universal Mod Installer, and in IPB3 there is a new "hook" feature to ass custom mods etc, but I do not know how to alter the code for the Adsense Bot to work with IPB3 so I am trying to get it done from scratch by adding codes directly into the templates. If anyone know how to configure / modify the old Adsense Bot to work with IPB3 that would be great of course, so I am attaching it here just in case someone wants to take a look at it and its documentation and scripts. But primarily I am looking for the two mentioned features, one is how to get the script running in ONLY the first post of every thread - at the moment I got it running, but it is global and implements into all posts not only the first. I also have figured out how to make a script appear, such as an ad, between posts, but not after ONLY the first post, nor how to make a bot that posts a post just like any member, which is what I am really looking for when it comes to that part. This is the code I have entered into the topicViewTemplate in Topic View: Code: {parse template="aip" group="topic" params="$post"} <div style="display:block;float:right;margin: 0px 10px 0px 0px;"> <script type="text/javascript"><!-- google_ad_client = "pub-3737464431076938"; /* forum posts large recnt */ google_ad_slot = "6548059149"; google_ad_width = 336; google_ad_height = 280; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> This works perfectly for adding my desired custom script embedded within the posts. The problem is that it gets embedded in ALL posts and not only the first as I would want. Here is a link to my forum for an example on how it looks: http://www.conspiraciesforums.com/fo...ic/3-atlantis/ I know I have to edit/add some code regarding post counts etc to configure it to only affect the first post - my question is how to do that? And as seen, the second post shows the ad as well, here I would want a bot to post a post containing another ad - between the first and third post of every thread (which will be standard members posts). I have messed my brain with this for more than a week now trying different things, looking around at forums, googling, trying scripts and so on, mods etc, but as of yet have not found the solution to these things for IPB3. Any help here would be extremely greatly appreciated and I'll buy you a beer if you're ever around my part of the world! :p Thanks and bless you! -M "Note: If an HTML file contains ten images - eleven files are required to display the page right. Loading images take time, so my best advice is: Use images carefully." What does this mean ?what 11 files,for 10 images to display them right? and why 11 files? I am confused and i do not understand what the header attribute does with tables.Can anybody explain to me what is happening in this code why give the table headings and id because it does not look to me like it does anything <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>a acessible time table</title> </head> <body> <table border="1"> <tbody> <tr> <th></th> <th id="Saturday">Saturday</th> <th id="Sunday">Sunday</th> </tr> <tr> <th id="Morning">Morning</th> <td headers="Saturday Morning" abbr="Structure and markup">The structure of a document and how to markup text.</td> <td headers="Sunday Morning" abbr="Tables, forms and frames">Adding tables and forms to pages. Splitting pages up into windows called frames</td> </tr> <tr> <th id="Afternoon">Afternoon</th> <td headers="Saturday Afternoon" abbr="Links, color, images, objects">Linking between pages, and adding color images and objects to your pages.</td> <td headers="Sunday Afternoon" abbr="CSS">Using CSS to style your documents and make them look attractive.</td> </tr> </tbody> </table> </body> </html> OK I am reposting this cause I am having major issues...I would like to make it that for the purpose of ONLY A Halloween Page-that when the user of my website clicks ANYWHERE on my webpage it makes a scream noise...I have tried Google and keep finding where they must click a link or hover over a small box...I want it to be where they must CLICK anywhere... on my previous post-someone posted A Flash alternative-which after messing with for 2 hours-i could not figure out... Please tell me that when i use any unordered list in html page so it shows me bullets but I need that the content after list should be little bit away from bullet so that I used to make some distance between bullets & contents but when content is more than one line then it shows me all line content except first line content of that list. so please tell me that is there margin setting so that when I will set the margin then the content of every line of the list will look at certain distance. Hello , I am using 2 frames in my page of html [ main page : index.php , frames : menu.php and detail.php] When I Click on menu i need to pass its value to detail.php frame.But currently it is not passing any value. In menu.php i have used form with name [addblock] Following Code (Java Script) Code: function resubmit() document.addblock.action="index.php"; document.addblock.submit(); I am little confuse how to get value from one frame to other, Is their ant problem in javascript code Thankyou Well I've been using Wordpress for quite some time now... but I've come across a doozy this time and can't seem to figure it out. When viewing the post with firebug it says that "strong" tags were used throughout the post to make the thing bold... however in the actual wordpress content editor I only used the strong tag on a few words here and there. I've checked for open tags, haven't found any.... and yes I'm using the HTML editor on Wordpress, not the visual editor. The link is: http://www.pzfantasyfootball.com/blog/ Here is how the post appears in the Wordpress editor: Code: Well recently I've joined a Dynasty League started by one of the most beloved Dolphins fans known to man, <a href="http://www.phinfever.com/forums/viewtopic.php?f=1&t=40457">Tom "T-Rock" Eddie</a>. Unfortunately Tom passed away in the summer of 2008... but his memories and his influence on the Dolphins fan base still live on. I was proud to join the dynasty league, but I must say, it's been a completely different experience for me from a fantasy football perspective. <p />It seems the first line of business in a Dynasty Leagues offseason is to find replacement owners. As you may or may not know, you're supposed to try and retain the same owners year in and year out so that their teams can develop... like a real NFL Dynasty. However, for many reasons, this doesn't always happen. This league was missing roughly 4 owners, but fill ins were found quick... this is a very popular league for the name alone. After we found the owners, it was time to figure out what to do with the teams. In this case, the teams were very lopsided, so we took all of the players and all of the draft picks from the teams who were replaced, and we threw them into a draft for those 4 owners only. <!--more--> <p /><strong>The Re-Draft</strong> The rules were simple, the 4 owners who threw players in would all do a re-draft from a pool of those players to even out the teams. Trades outside of those 4 teams <strong>were</strong> allowed so anyone could get in the pool to snag some hot new talent to bolster their team. It was a tricky concept to grasp at first, but once it got going, my trade sensors went off! Since I was the first new team to join the squad I got to choose my draft position... I chose 4 out of 4 in a snake draft in order to immediately get back to back picks and to see what everyone would go after. <p /><em>Some would question the decision not to take the #1 pick because Adrian Peterson was available... but I'm trying to build a whole team here while the majority of the league already had a set team, so it seemed wise to me to wait a little while and possibly snag 2 immediate starters in a row instead of 1 then waiting for the pool to drain out 6 more guys before I got to choose again. </em> <p />Ok, 3 picks go by and of course, there go 3 RB's. I'm now looking at a somewhat talented pool of RB's left... or Drew Brees... the best fantasy QB on the market. Since I have back to back picks I have a little leniency here so I go with Brees. Ok, now my 2nd pick. *DING DING* The trade bell goes off. The owner of the Grim Reefers is a huge Rams fan and can't help but snag this pick to take Steven Jackson. In return, I get RB Brandon Jacobs and WR Roy Williams. This would be the first of many many trades I made with this team. I'm extremely excited now... I've had 2 picks and ended up with 3 starters... what more could I ask for? <p />It'd be a few long weeks before the re-draft was finally over. I was probably the hottest trader out of the redraft teams and was happy with how my final re-draft roster came about. I managed to snag Ladainian Tomlinson in like round 6 or 7 which I considered a huge steal and I know I had some more solid picks which seem to be slipping my mind right now as I write this at work... Eventually I started I forfeited the rest of my picks as the pickings were slim and I wanted to get the redraft over with. <p /> I think the biggest difference of the draft that really had me somewhat shocked, is the stock put into young players. No joke, you'll see young guys who haven't proven anything but the ability to play the bench, go way ahead of perennial pro bowlers. I didn't take that strategy as far as some did... many teams took guys who literally have a very slim chance to play at all, just because they were young and they have the "potential" to play. I tried to keep it young, but I also tried not to reach on anyone just because they were a few years younger. One guy I did snag, that I'm actually especially excited about, is Jets LB Vernon Gholston. The kid seems to be headed for a career as a pass rushing specialist and if it works out well, I could be the proud owner of a 15-20 sack LB on my roster. Yay!!! <p />Well, anyways, I'll try to get my roster up on here when I get home. We have the rookie fantasy draft coming up next weekend and I haven't done much homework for it yet... YIKES!! One word of advice I have for you avid fantasy players is, join at least 1 dynasty league. It's a whole new experience that you'll probably thoroughly enjoy. <p /><em><strong>*Warning - They're not made for the average fantasy player. </strong></em> <p /><strong>Edited on May 16, 2009 at 12:37AM</strong> Ok guys and gals... here is my roster after the re-draft and before the rookie draft. <p /><strong><em>Quarterbacks</em></strong> <ol> <li>Drew Brees*</li> <li>Carson Palmer</li> <li>Kellen Clemens</li> <li>Damon Huard</li> </ol> <p /><strong><em>Runningbacks</em></strong> <ol> <li>Brandon Jacobs*</li> <li>Ladainian Tomlinson*</li> <li>Ahmad Bradshaw</li> <li>Ray Rice</li> <li>Darren Sproles</li> <li>Brian Leonard</li> <li>JJ Arrington</li> <li>Brian Calhoun - <em>FA</em></li> <li>Chris Perry - <em>FA</em></li> </ol> <p /><strong><em>Wide Receivers</em></strong> <ol> <li>Roy Williams*</li> <li>Dwayne Bowe*</li> <li>Anthony Gonzalez*</li> <li>Reggie Brown</li> <li>Michael Clayton</li> <li>Rashied Davis</li> <li>Joey Galloway</li> <li>Brandon Lloyd</li> <li>Kevin Curtis</li> <li>Chansi Stuckey</li> <li>Sinorice Moss</li> <li>Reggie Williams - <em>FA</em></li> </ol> <p /><strong><em>Tight Ends</em></strong> <ol> <li>Tony Scheffler*</li> <li>Visanthe Shiancoe</li> <li>Martellus Bennett</li> </ol> <p /><strong><em>Defensive Lineman</em></strong> <ol> <li>John Abraham*</li> <li>Derrick Burgess*</li> <li>Jason Taylor</li> <li>Aaron Kampman</li> </ol> <p /><strong><em>Linebackers</em></strong> <ol> <li>James Farrior*</li> <li>Keith Brooking*</li> <li>Vernon Gholston</li> <li>DJ Williams</li> <li>Freddie Keiaho</li> <li>Will Witherspoon</li> </ol> <p /><strong><em>Defensive Backs</em></strong> <ol> <li>Darrelle Revis*</li> <li>Adrian Wilson*</li> <li>Bob Sanders</li> <li>Champ Bailey</li> <li>Kelvin Hayden</li> <li>Aqib Talib</li> <li>Dwight Lowery</li> </ol> <p />Now I tried to list the players in order of likeliness to start at their position. The starred (*) players are who I project to be starting at the position come the start of the season... but anything can change. I'm looking pretty smart for that Jason Taylor pickup now that the Dolphins have resigned him too. I tried to mark who I could remember are still Free Agents in the NFL... I'm hoping those players find a team soon... else they could be cut to make room for the rookies. <p />Speaking of which, I really gotta start looking into the rooks... the draft is in less than a week and I'm clueless!!! Catch ya later! Hi everyone, I'm having this really weird problem with a form I'm using. I am creating a banner module which allows users to upload banner code via an html form, one of the fields is for the code itself wich may be html based eg.<img src="ectectect" /> or javascript like <script language="javascript" src="ad.aspx?pid=17987&bid=4939"></script> The problem is this when i put any form of javascript into the textarea even just <script></script> tags and post the form the content in the input containing the javascript is always empty. This is my form tag: Code: <form action="" method="post" name="update"> Any ideas why this is happening? So my post got deleted.... If you post something not up to standards do they just take it off? Im guessing this one lasts 2 minutes I'm trying to add some buttons at the end of every post and this is the code I was given:
Code: <a expr:href='"http://www.yardbarker.com/author/new?pUrl=" + data:post.url + "&pHead=" + data:post.title' target='_blank'><img src='http://www.yardbarker.com/images/extern/bark_wide.gif' style='border: 0; padding: 0 0 0 15; vertical-align: bottom;'/></a> <a expr:href='"http://ballhype.com/post/url/?url=" + data:post.url + "&title=" + data:post.title'><img alt='BallHype: hype it up!' height='22' src='http://images.ballhype.com/img/hype/button_96x22.png' width='96'/></a> I tried to paste that in after the line: " <div class='post-footer-line post-footer-line-3'/>" but it keeps showing me an error. I'm using a blogger blog by the way. Thanks for any help you can give. I forgot to mention the site is http://notqualifiedtocomment.blogspot.com/ To HTML staff, This fake account is pm'ing me AD's and probably other members as well. Thanks, -Aanders5 hello, I am having a problem with some rollover graphics... the file works fine when I view on my local system, but once I upload to the server, the rollovers dont work anymore? I have no idea why... here is a link to the page: http://www.tryfluid.com/keepit/index.html I created the main navigation panel in fireworks. I then cut and paste the info into my site. Here is a link to the actual file that fireworks created: http://www.tryfluid.com/keepit/ARTheader_noSlice.html I am very new to fireworks, I used to use Imageready but recently upgraded to CS4 and Imageready has been discontinued. I can't figure out why the rollovers don't work once I upload the files... any help would be greatly appreciated... Thanks! Allen I'm working on a website for a organization I belong to. It's quite simple - a few html pages with posts handled by perl. I'm writing a registration script for them, and need to do the following: Currently when registration is confirmed, they write to their userdatabase and email out a confirmation. But payment is all handled via paypal. They've been relying on users to click a link at the bottom to go to paypal to conduct the transaction, but users can be not-so-smart sometimes. Many have thought that payment was taken care of, and they didn't need to worry about it, and hence, we've been getting a lot of non-payment. I'd like to, after the confirmation where databases are written, etc., just have something like a meta refresh at the top of the page that will redirect them to paypal. But, paypal accepts its info via a post. How does one do such a refresh with a post command in it? Or is there another way? Hello, I've got a few questions to do with CSS, now I use it in my code!: 1. Is it ok to use minus in your margins? margin-top:-10px; 2. If not, then how do you keep your things on the same line? Please help! Thanks, ToshNeox Hi there! I've been googleing for this for a while now, but I couldn't find any solution. My problem is simple. I want my forms to be in a way that browsers 'know' that the data being typed into the form is to be sent with the Unicode UTF-8 encoding. So that every data POSTed back to my server is encoded using UTF-8. How can I do that? Thanks in advance, AvoC. I'm new and a web designer,and i have a question.In my page,freewebs i don't know if my page acepts variables Get and Post,and i want to know how to set my page to acept the variables. Thank you. (Sorry but my english is crap.) I'm trying to make a form that a person can fill out. When they click submit, it will send what they wrote to me in a e-mail. This is what I have: Code: <form action = "MAILTO:E-mail" method = "post" enctype = "text/plain"> alkdsjflasj alsdjflasdjf a;lkdfalsdj </form> <input type = "submit"> What I dont like that this does, is it opens the microsoft outlook express. I want it to send me the form information without opening outlook express. I would like it to send the form to my e-mail, and also redirect them to a different page. |