Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 03:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Javascript function/herf Problem

Discussion on Javascript function/herf Problem within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
Javascript function/herf Problem

#
Ammonit is offline  
Old 12/02/2013, 17:33   #2
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 426
Received Thanks: 87
Code:
<script language="JavaScript" type="text/javascript">
<!--
function test(){
    location.href="http://www.youtube.com/v/HT2O_FsJNPs?fs=1&autoplay=1";
}
// -->
</script>
kissein is offline  
Old 12/03/2013, 11:45   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
#
Ammonit is offline  
Old 12/03/2013, 12:15   #4
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 426
Received Thanks: 87
Fehlermeldung ?

Was hat denn die CSS Definition mit der Javascript Function zutun?
kissein is offline  
Old 12/03/2013, 13:13   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
#
Ammonit is offline  
Old 12/03/2013, 14:11   #6
 
tolio's Avatar
 
elite*gold: 2932
The Black Market: 169/1/0
Join Date: Oct 2009
Posts: 6,966
Received Thanks: 1,097
schau in der konsole obs irgendne fehlermeldung gibt
tolio is offline  
Old 12/03/2013, 15:55   #7
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
#
Ammonit is offline  
Old 12/03/2013, 18:56   #8
 
Mikesch01's Avatar
 
elite*gold: 203
Join Date: Sep 2007
Posts: 732
Received Thanks: 190
Code:
<script language="JavaScript" type="text/javascript">
<!--
function test(obj){
    obj.href="http://www.youtube.com/v/HT2O_FsJNPs?fs=1&autoplay=1";
}
// -->
</script>

<a class="video"  title="TEST" onclick="test(this);" href="#">TEXTLINK mit Funktion</a><br>
Die Frage ist auch, willst du nur den Link in den a-Tag eintragen oder direkt weiterleiten?

Verstehe den Sinn dieses Scripts nicht.
Mikesch01 is offline  
Reply


Similar Threads Similar Threads
JavaScript Problem.
10/13/2013 - Web Development - 4 Replies
<html> <head> </head> <script type="text/javascript"> function selecthair() {
Javascript problem...
11/02/2012 - Web Development - 0 Replies
I have problem with simple javascript code... if you can help me - contact me on skype jordan.velikov3 ;) problem - fixed!
Javascript Problem
04/23/2012 - Web Development - 6 Replies
Ich brauche Hilfe, da ich langsam verzweifle, ich möchte ein simples Dropdown Menü erstellen und wenn ich dann der DIV-BOX zuweise, dass sie bei Kontakt das Attribut display sich von none auf block ändern soll passiert es nicht. webseite ist hier www relyonme bplaced net leerzeichen mit punkt ersetzen download ist hier www relyonme bplaced net/web.7z hoffe auf eine schnelle antwort, danke
javascript problem
04/02/2012 - Web Development - 2 Replies
Hat sich erledigt, danke Pseudo!



All times are GMT +2. The time now is 03:01.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.