Jump to content

Search the Community

Showing results for tags 'a href'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








Donation Link

Found 3 results

  1. Hi all, I hope you can help me further with this problem. I want to build a quiz/votematch website like this one: http://bit.ly/1kGUGJ6 I want to ask about 20 questions and record all clicked items, so I can use it to match it after the last question. All questions are like this: <div class="stelling" id="stelling4618"> <p>Question 1</p> <h2>The question here.</h2> <a address="true" href="#/stelling/2" class="big botshadow button agree">Eens</a> <a address="true" href="#/stelling/2" class="big botshadow button neutral">Geen van beide</a> <a address="true" href="#/stelling/2" class="big botshadow button disagree">Oneens</a> <a address="true" href="#/stelling/2" class="medium button skip">Sla deze vraag over</a> </div> So if a user click on the first link, <a>eens</a>, I want to push this text to an array with php. After question 20 I want to show all clicked items and match it with my database values. How can I do this? Please help me, I really need this... Thanks so much!! Kind regards, Mark
  2. Good evening folks. I am very much so a newbie at writing webpages, and I will admit I am much stronger in martial arts than coding. But I have spent the last week losing more hair then required trying to get the page I am developing to work as intended. Primary issue, I have several links they load images into Div's there is something goofy going on when I click on a link for example to load my images works like a champ, but then when I click on my link to load the iframe webpage to display the Shotokan Federation inside my webpage it opens it in a new browser. But if I reload the page and click on Shotokan Federation link works like a champ loads into same page inside my iframe. moment I click on any other link and go back to shotokan fed it does not work as intended. loads the webpage on a newly opened browser. Below is my source and yes I am new so please I am trying really hard to get it right. Also the only way this looks right is on google chrome too but thats a different issue for the next round of banging head into concrete. <PS> I commented a lot of my code to make it easier to follow. <script src="respond.min.js"></script> <!-- Java Script for diplaying two images on single click Instructors Link in Div4 and Div5 --> <script type="text/javascript"> function Instructors(){ document.getElementById("div5").style.display="block"; document.getElementById("div4").innerHTML="<img src='Images/Instructors/Instructors.png' alt=''/>"; document.getElementById("div5").innerHTML="<img src='Images/Instructors/Instructor_pics.jpg' alt=''/>"; } <!-- Java Script for diplaying two images on single click Tang Soo Do Link in Div4 and Div5 --> function TangSooDo(){ document.getElementById("div5").style.display="block"; document.getElementById("div4").innerHTML="<img src='Images/TangSooDo/TangSooDo_Brief_History.png' alt=''/>"; document.getElementById("div5").innerHTML="<img src='Images/TangSooDo/Hwang_Kee.jpg' alt=''/>"; } <!-- Java Script for diplaying two images on single click Shotokan Link in Div4 and Div5 --> function Shotokan(){ document.getElementById("div5").style.display="block"; document.getElementById("div4").innerHTML="<img src='Images/Shotokan/Shotokan_Brief_History.png' alt=''/>"; document.getElementById("div5").innerHTML="<img src='Images/Shotokan/Funakoshi.jpg' alt=''/>"; } <!-- javascript to load Shotokan Federation into Iframe --> function ShotokanFed(link){ window.ifrm.location=link; window.location.hash='ifrm' window.open("http://www.jka.or.jp/english/e_index.html","ifrm","scrollbars=no"); } </script> </head> <body> <!-- Header Image --> <div class="gridContainer clearfix"> <div id="div1" class="fluid" align="center"><img src="Images/Banner/Header_Banner.png" alt="Banner" /></div> <!-- Top Navigator Div2 --> <div id="div2" class="fluid"><div align="right" style="margin-bottom: 1em;"> <p class="alignleft"><a href="index.html" target="_self">Home</a> | Sign In</p> <p class="alignright">Follow Us | Feedback | Contact Us | Join Us</p> </div> <div style="clear: both;"></div> <hr></div> <!-- Side Navigator --> <div id="div3" class="fluid"> <p> <a href="javascript:Instructors();">Instructors</a> </p> <p>Events</p> <p>Class Schedule</p> <p>Class Locations</p> <p> <a href="javascript:TangSooDo();">Tang Soo Do</a> </p> <p> <a href="javascript:Shotokan();">Shotokan</a></p> <p> <a id="ShotokanFedLink" title="Click to load Shotokan Federation Page" href="PleaseEnableJavascript.html" onclick="ShotokanFed();return false;">Shotokan Federation</a> <!--<a href="javascript:ShotokanFed();">Shotokan Federation</a>--> <!--onClick="$('#ifrm').show();"--> <!--<a href="javascript:void(0)" onclick="ShotokanFed('http://jka.or.jp/english/e_index.html')">Shotokan Fed</a>--> </p> <p>Soo Bak Do Federation</p> </div> <!-- Content --> <div id="div4" class="fluid" align="center"><iframe id="ifrm" frameborder="0" height="750" width="100%" scrolling="no"></iframe></div> <!-- Side Images --> <div id="div5" class="fluid"></div> <!-- Supported site Links --> <div id="div6" class="fluid"><hr> <p class="alignright"><a href="http://www.uswka.us" target="new"><img src="Images/Badges/uswkasmalllogo.png" width="65" height="63"></a></p> </div><div style="clear: both;"></div> <!-- Footer --> <div id="div7" class="fluid"><hr></div> </div> </body> </html>
  3. Hello, I'm new to coding. I just moved my php site to another server (linux). Now some of my links work and others don't. Please see sample of short file below. Please help, I'm desperate. Note: on below code, the first link does not work, but the other two do. I can find no difference. The first one universityreport.php resolves to a blank page. <snip> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1%"><img src="images/gray-box-left.jpg" width="11" height="84" /></td> <td width="98%" background="images/gray-box-mid.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"><a href="universityreport.php"><img src="images/coll-card.jpg" width="265" height="61" border="0" /></a></td> <td align="center"><a href="jobsearch.php"><img src="images/minority-bank.jpg" width="265" height="61" border="0" /></a></td> <td align="right"><a href="registerempolyer.php"><img src="images/corp-portal.jpg" width="265" height="61" border="0" /></a></td> </tr> </table></td> <td width="1%"><img src="images/gray-box-ryt.jpg" width="11" height="84" /></td> </tr> </table>
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.