One guy WP-Codebox release suggestion
Hello --
Let me first tell you that I love this plugin. Today I had the brilliant idea of changing the '+' and '-' symbol that are in the upper right corner of the box. I wanted to use an image instead. At first I just changed the 'main.php' file. That made the images appear fine when the page loaded. Although, once clicked on, it would go back to the text version. I determined that the problem was with the javascript file. I found where I though should be changed and I got it to work fine in Firefox, but it's getting stuck in Internet Explorer.
I've attached a text file of the changes that I've made. Is there any way that you can help me out with this?
Thank you so much!
Bill Fisher
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ------------------- original ) main. php (original) ------------------- "<a href= \" javascript:; \" onclick= \" toggle_collapse('p" . $post -> ID . $codeid . "'); \" >[<span id= \" p" . $post -> ID . $codeid . "_symbol \" >" ; $ output .= "<a href= \" javascript:; \" onclick= \" toggle_collapse('p". $post -> ID. $ codeid." '); \ "> [<span id = \" p ". $ Post -> ID. $ Codeid." _symbol \ ">"; $cb_colla && ( ! ( $colla == "+" ) ) ) || ( $colla == "-" ) ) { $output .= "+" ; } else { $output .= "-" ; } if (($ cb_colla & & (! ($ colla == "+"))) | | ($ colla == "-")) ($ output .= "+";) else ($ output .= "-" ;) "</span>]</a>" ; $ output .= "</ span>] </ a>"; "</span>" ; $ output .= "</ span>"; ------------------ changed ) main. php (changed) ------------------ "<a href= \" javascript:; \" onclick= \" toggle_collapse('p" . $post -> ID . $codeid . "'); \" ><span id= \" p" . $post -> ID . $codeid . "_symbol \" >" ; $ output .= "<a href= \" javascript:; \" onclick= \" toggle_collapse('p". $post -> ID. $ codeid." '); \ "> <span id = \" p " . $ Post -> ID. $ Codeid. "_symbol \"> "; $cb_colla && ( ! ( $colla == "+" ) ) ) || ( $colla == "-" ) ) { $output .= "<img src= \" xxx \" border= \" 0 \" >" ; } else { $output .= "<img src= \" xxx \" border= \" 0 \" >" ; } if (($ cb_colla & & (! ($ colla == "+"))) | | ($ colla == "-")) ($ output .= "<img src = \" xxx \ "border = \" 0 \ ">";) else ($ output .= "<img src= \" xxx \" border= \" 0 \">";) "</span></a>" ; $ output .= "</ span> </ a>"; "</span>" ; $ output .= "</ span>"; --------------------- original ) codebox. js (original) --------------------- symbol = $ ( objname + '_symbol' ) ) { if (symbol = $ (objname + '_symbol')) ( symbol . innerHTML == '+' ? '-' : '+' ; symbol. innerHTML = symbol. innerHTML == '+'? '-': '+'; ) -------------------- changed ) codebox. js (changed) -------------------- symbol = $ ( objname + '_symbol' ) ) { if (symbol = $ (objname + '_symbol')) ( symbol . innerHTML == '<img src="xxx" border="0">' ? '<img src="xxx" border="0">' : '<img src="xxx" border="0">' ; symbol. innerHTML = symbol. innerHTML == '<img src="xxx" border="0">'? '<img src="xxx" border="0">': '<img src = "xxx" border = "0"> '; ) |
| - Welcomed the rating for this article |
No donations within the last 180 days.Who make donation will leave message at here. Donate Now.
This a wordpress plugin Wp-Donators. It provides a smart donation function to autoleave the sponsor information in this container after payment. People can donate and submit name / URL or TextLink AD. The information of the latest donors are displayed in the cloud. The more a person donates, the bigger their link will be.It 's will support most popular payment interface in future. ParPal Just the first one. More ..
Powered By: WP-DONATORS
Log-related | In this paper, readers are also concerned about the following:
|















































Leave a reply