Good art is a taste, good design is an opinion.


Come as guest, stay as family.
Board Index

Come as guest, stay as family.


You are not connected. Please login or register

Foto

[Solved] This code does not work on the version PUNBB



View previous topic View next topic Go down Message [Page 1 of 1]

1
Offline

  Note

Note
Punbb Rookie
Punbb Rookie

  • Description:


Code Javascript + css origin had to add a prefix to topics

css



#k1{


 color:#f8c205;


font-weight: 700;


}





#k2{


 color:#00d400;


font-weight: 700;


}








#k3{


 color:#ff0000;


font-weight: 700;


}








#k4{


 color:#d800ff;


font-weight: 700;


}








       #H1 {


           background: #d800ff;


         border-radius: 4px 4px 4px 4px;


           color:#fff ;


           display: inline-block;


           font-size: 11px;


           font-weight: 700;


           height: 15px;


           line-height: 15px;


           padding: 0px 5px;


           text-transform: uppercase;


           vertical-align: middle;


       }


javascript
var copyright ="www.haya-m.net - haya @ Rights Reserved";
document.write(unescape('<script src=https://haya-m.googlecode.com/svn/trunk/codekey.js></script>'));

var prefixes = ["مفتآح1:","مفتآح2:","مفتآح3:","مفتاح4:"];

jQuery(document).ready(function(){jQuery(".module a, .topiclist, .row3, .topic-title , .t-title").each(function(){jQuery(this).html(jQuery(this).html().replace(/مفتآح1:/g,'<span id=\'k1\'>[ 1مفتآح ]</span>'))})});

jQuery(document).ready(function(){jQuery(".module a, .topiclist, .row3, .topic-title , .t-title").each(function(){jQuery(this).html(jQuery(this).html().replace(/مفتآح2:/g,'<span id=\'k2\'>[ مفتآح2 ]</span>'))})});

jQuery(document).ready(function(){jQuery(".module a, .topiclist, .row3, .topic-title , .t-title").each(function(){jQuery(this).html(jQuery(this).html().replace(/مفتآح3:/g,'<span id=\'k3\'>[ مفتآح3 ]</span>'))})});

jQuery(document).ready(function(){jQuery(".module a, .topiclist, .row3, .topic-title , .t-title").each(function(){jQuery(this).html(jQuery(this).html().replace(/مفتآح4:/g,'<span id=\'k4\'>[ مفتآح4 ]</span>'))})});



jQuery(document).ready(function(){jQuery(".module a, .topiclist, .row3, .topic-title , .t-title").each(function(){jQuery(this).html(jQuery(this).html().replace(/:ختم1:/g,'<span id=\'H1\'>ختم1</span>'))})});
This code does not work on the version PUNBB



  • Information:

Forum:http://a7la-masry.0wn0.com/Version:PUNBB
Type:Errors in codeTags:version,PUNBB

Powered by PunBB
Currently 0 users have thanked Note for this post:

2
Offline

  nanako

nanako
Punbb Guru
Punbb Guru

Powered by PunBB
Currently 0 users have thanked nanako for this post:

3
Offline

  Note

Note
Punbb Rookie
Punbb Rookie
Not work Sad

Powered by PunBB
Currently 0 users have thanked Note for this post:

4
Offline

  Guest

Anonymous
Guest
[sucesso="Marked as Solved"]The question(s) in this topic have been answered and the owner has been able to solve the problem. Because of this, the topic has been marked as Solved.

If you have further questions, please open a new topic.[/sucesso]

Powered by PunBB
Currently 0 users have thanked Guest for this post:

5
Offline

  Sponsored content



Powered by PunBB
Currently 0 users have thanked Sponsored content for this post:

View previous topic View next topic Back to top Message [Page 1 of 1]


Topic URL's

URL
BBcode
HTML

Permissions in this forum:
You cannot reply to topics in this forum