Everything posted by lifeguard
-
Fancy Box inline with image map - help please
Hi all, I've been trying to make this Batman infographic interactive The pop up Youtube vids work in all browsers (click on batman's vehicles to see) but the pop up 'inline' text boxes don't work in IE when you click the blue 'i' icons next to the vehicles http://drewphp.zymichost.com/fancyapps-fancyBox-0ffc358/demo/batman.html Can anyone help please? Not sure why the text boxes don't work in IE Here's all the fancy box code (despite the universal fancy box files/code) <img src="drew-test-lightbox.jpg" width="720" height="3733" alt="Batman" usemap="#planetmap"> <map name="planetmap"> <area shape="circle" coords="196,1149,99" a class="fancybox-media" href=" "></a> <area shape="circle" coords="542,1379,99" a class="fancybox-media" href=" "></a> <area shape="circle" coords="216,1625,99" a class="fancybox-media" href=" "></a> <area shape="circle" coords="518,1065,55" a class="fancybox" href="#inline1"></a> <area shape="circle" coords="188,1308,55" a class="fancybox" href="#inline2"></a> <area shape="circle" coords="570,1533,55" a class="fancybox" href="#inline3"></a> <area shape="rect" coords="272,3633,1444,5207" href="http://www.moneysupermarket.com" alt="moneysupermarket"> </map> <map name="planetmap"> <div id="inline1" style="width:400px;display: none;"> <h3>Tumbler</h3> <p> Bruce Wayne acquired a shelved Wayne Enterprises military vehicle, called the "Tumbler", to serve as his Batmobile. Originally sporting military desert camouflage paint, Bruce Wayne requested Lucius Fox to have the Tumbler painted black. At that time, Wayne never referred to it as the "Batmobile." Several days later, Dr. Jonathan Crane poisoned Rachel Dawes after showing her that his toxin was being piped into Gotham's water supply. </p> <p>She was eventually saved by Batman. The GCPD entered Arkham Asylum and arrested Crane while Batman escaped with Rachel in the Tumbler. That night, Batman battled Ra's al Ghul aboard a train, then escaped just as Sgt. Jim Gordon, who then drove the Tumbler under Batman's permission, launched the missiles from it, causing Ra's al Ghul to crash with the train to the ground. </p> <div id="inline2" style="width:400px;display: none;"> <h3>The Batpod</h3> <p> The Batpod is intended as a kind of "escape pod" integrated into the Tumbler, it also served an an auxiliary vehicle. Armed with dual front-mounted cannons, machine guns and grappling hooks, the Batpod affords Batman greater mobility at the cost of some protection. Batman first used the Batpod to escape from the Tumbler after it was critically damaged by an RPG round fired by The Joker. He then used the Batpod to pursue Joker, eventually crashing the Semi truck he was driving. </p> <p>Batman proceeds to raced down towards The Joker at high speed with Batpod with the intent of running him over as the Joker taunts him to "Hit Me!". However mere moments before the collision, Batman steers out of the way of the Joker's path and crashes. Batman uses the Batpod again when Rachel Dawes & Harvey Dent are kidnapped and placed in two different locations by the mob. Batman races to the location where he thought Rachel was being held only to find Harvey instead who ultimately gets tragically half disfigured facially. Batman would end up taking the fall for Two-Face's crimes becoming a wanted vigilante by the police force. Batman rides off into the night not be seen until he was needed once more. </p> <div id="inline3" style="width:400px;display: none;"> <h3>The Bat</h3> <p> The Bat is the name given to the aircraft operated by Batman in The Dark Knight Rises. Bruce Wayne meets with Lucius Fox to discuss the status and business options of a crumbling Wayne Enterprises. After their discussion Lucius is curious as to why Bruce did not inquire about any new equipment (for his Batman activities), noting that their meetings used to "end with an unusual request." Bruce replies that he is retired from his Batman career, but Lucius coerces him to look at some new stuff anyway "just for old time's sake." </p> <p>They soon enter the Applied Sciences division which has still been kept secret by Fox and he then unveils a new vehicle. Bruce asks Lucius what the vehicle is called to which he replied "it has some long, uninteresting Wayne Enterprises designation", but he simply chose to dub it "The Bat". He also noted that it did indeed "come in black," (a reference to the first film). While mentioning many of its features to Bruce, Lucius notes that he had not designed a functioning auto-pilot, but that someone of Bruce's intellectual caliber would be able to design one. </p>
-
Javascript Sliders for Form Input
Hi guys, Trying to make a loans repayment calculator for work Got a HTML 5 slider at the moment but it doesn't work on any other browswer except chrome http://drewphp.zymichost.com/calc4.html Also doesn't display what value you are "on" Ideally I'd like a slider input like the Wonga or Comparethemarket ones http://www.comparethemarket.com/loans/ https://www.wonga.com/ Is the technical term -"slider"? can anyone point out the code they're using? have looked at the.js on wonga but can't see Thank you in advance p.s. I don't work for a payday loans company (or a bank)
-
What does this php code mean?
Thanks guys Was a bit confused as didn't know how to upload images in jpeg form without putting them in a webpage first, but will try filezilla when I get home!
-
What does this php code mean?
Made a little progress! I've connected with Dreamweaver, finally found the images I need to replace... However, not sure how to replace them, when I open them, they open up in photoshop I'm not sure how to upload an image that's not within a html doc?
-
What does this php code mean?
erm, thanks a lot guys, I'm still a bit confused tho (sorry, crap at coding) Emailed my mate - he said: Hi mate, The images are hardcoded into the front-page.php template so they could just be replaced via ftp as they have generic names like banner1.jpg. Let me know if you need me to do anything else. Andy How the hell do I change them? I have Dreamweaver so know how to upload stuff by ftp normally... Also, been looking at the uploaded files already, and can't find the front-page.php anywhere Thanks, sorry for being thick!
-
What does this php code mean?
can't find any slider plugins! I'll have a look in the control panel web directory...
-
What does this php code mean?
Hi all, been asked to change the images on my mate's website - on the silder on the front page - www.ipcwrexham.co.uk It's a wordpress site, as you can probably tell. But I can't for the life of my work out how or where the slider is 'pulling' the images from? In the backend of the wordpress, all I can find in relation to the slider is code under - Appearance;Editor: <div class="slide"> <img src="<?php bloginfo('template_url'); ?>/images/banner.jpg" class="floatleft" alt="IPC" /> </div> <div class="slide"> <img src="<?php bloginfo('template_url'); ?>/images/banner1.jpg" class="floatleft" alt="IPC" /> </div> can anyone help tell me how to change this images please? There are no images in the library called banner or banner1 or banner2 etc. Thanks!
- Website templates are needed
-
Simple Webpage
Not done it myself mate, but have a quick search on youtube -
-
Wordpress Twitter API
Hi all, my friend's website is http://www.ipcwrexham.co.uk/ and he's asked me to look after it as the original designer has now started his own gym... The Twitter Feed on the front page no longer works. Can anyone please recommend a plugin that will work since the API changed? Thank you so much
-
Facebook App help please
Renaming it index.php and putting it in a folder worked! thanks! made my day
-
Facebook App help please
HI all, attempting to make a FB app. link to it is here - http://apps.facebook.com/drewsappattempt/ using this page for source of the app - http://www.pim2000.com/BMI.php The BMI calculator works fine on my website, but doesnt work on the facebook app. If i try and use the app in Firefox, i get the error "Method Not Allowed The requested method POST is not allowed for the URL /index.html." when i sub my details on the calculator please can someone help me out, what am I doing wrong? thanks
-
Help with my First WordPress Website please
Hi, I'm trying to do a site for my mate, got to this so far - http://www.wrexham-builders.com/wordpress/ If poss I'd like to Move the text to the left and add an image to the right of text I've tried editing a few things on the style sheet but nothing has taken effect on the alignment of the text! Can someone help point me in the right direction please? thanks
-
yo
worked it out now, apologies for wasting space on the forum
-
yo
Hi guys, made a few posts on here already, but hi again! I am no doubt being thick, but I cant work out how to put a signature at the bottom of my posts, I've looked under setting on my profile, can anyone help please? thanks
-
Best Site for Wordpress templates
Hi all, as above, cant find a decent one for my friends builder/construction website thanks
-
My Website
I like it mate, the front page is a bit plain maybe?
-
What are you listening too right now . . . ?
Learn Dutch Lessons 1 to 5
-
HALLOWEEN! What Are You Going To Be?
a pumpkin of course
-
Can someone have a look at this php code please?
*think ive sorted this now but cant see how to delete this thread!* Hi all, attempting to upload my first php script, having probs. here is the code: <body> <h2>Enter Your 1 Rep Max for Barbell Bench Press</h2> <?php if (!isset ($_POST['submit'] )) { ?> <form method="post" action="names.php"> Enter your Bench Press in kg: <br /> <input type="text" name="weight" size="3" /> <p> <input type="submit" name="submit" value="Submit" /> </form> <?php } else { $weight = $_POST ['weight'] ; if ($weight <= 70) { echo "You're a fanny. You'd make a good 'before' picture"; } elseif ($weight > 70 && $weight <= 90) { echo "Not bad, you might make the cover of Men's health within a year or two" } elseif ($weight > 90 && $weight <= 120) { echo "Good work, keep it up, good weight for a footballer or jockey"; } elseif ($weight > 120 && $weight <= 150) { echo "Excellent, you must look like a Maximuscle advert"; } else { echo "You've been guzzling the steds"; } } </body> It's exactly as shown in my book PHP a beginners guide; but keep getting the following error: Parse error: syntax error, unexpected '}', expecting ',' or ';' in /homepages/44/d331383884/htdocs/names.php on line 27 this is line 27 - } elseif ($weight > 90 && $weight <= 120) { tried moving stuff about but no luck so far
-
Search Function - possibly a really stupid question
...so if I want the search function to search a static website, (rather than a retail website with a database of products or something similar) Would I still need a database? thanks
-
Domain name doesnt have suffix
Hi all - have hosting with 1 and 1 - have chosen a 'frame redirect' so that progressinternetmarketing.com shows rather than http://s331383893.websitehome.co.uk/ - but now there is no extension on the domain name, so for example, if you go to the 'aboutus' page, the web address still shows as progressinternetmarketing.com and not progressinternetmarketing.com/aboutus - I can do a 'frame redirect' but that just shows http://s331383893.websitehome.co.uk/aboutus which looks rubbish - the only other thing i can see that is variable is 'select destination type' as 'reset' or 'forward your domain' can anyone help please? thanks
-
Search Function - possibly a really stupid question
thanks mate, I've basically just done the w3 course in php; I'm doing the website to get a go and putting a few things into practice. I'll have a go when I get home. thanks again
-
Search Function - possibly a really stupid question
Hi all, apologies for this, as it is possibly a really daft question. however... I've just made a website, well, bought a template anyway. It has search function which i wish to get working I was just reading this on my break in work - http://www.110mb.com/forum/search-function-in-php-t19128.0.html is it essential to have an actual database set up to have a search function? can you not just search the website content rather than a database? thanks alot
-
Made a right mess of uploading my website :(
thanks guys, sorted it now If i may ask another really basic question: How do you preview your php pages without uploading them first? I've bought the book - php 6 and MySql 5 by Larry Ullman but its well too difficult!