Page 2 of 2

Re: Better Prompt 4 bbcode question

PostPosted: 08 Sep 2012, 15:15
by iamthestreets
any luck?

Re: Better Prompt 4 bbcode question

PostPosted: 08 Sep 2012, 15:17
by 4seven
no time till today. must see to find any the next days.

Re: Better Prompt 4 bbcode question

PostPosted: 08 Sep 2012, 15:23
by iamthestreets
ok sounds good

Re: Better Prompt 4 bbcode question

PostPosted: 16 Oct 2012, 02:22
by iamthestreets
i figure it out and got it to work.

Re: Better Prompt 4 bbcode question

PostPosted: 16 Oct 2012, 02:37
by 4seven
Sorry about having no time for that. What was the solution?

Re: Better Prompt 4 bbcode question

PostPosted: 16 Oct 2012, 04:26
by iamthestreets
No problem. You have been very helpful. I had to replace this code
Code: Select all

<script type="text/javascript">
// <![CDATA[
$('input.button2').click(function(){
if ($(
"#popup_prompt").length){
$(
"#popup_prompt").focus();}
});
// ]]>
</script>


With this
Code: Select all
<script type="text/javascript">
// <![CDATA[
$('img.btnbbcode').click(function(){
if ($(
"#popup_prompt").length){
$(
"#popup_prompt").focus();}
});
// ]]>
</script>


I am using img instead of input so I just needed to make the change from input to img with my class

Re: Better Prompt 4 bbcode question

PostPosted: 16 Oct 2012, 23:16
by 4seven
so just a different id/class name. thanks for sharing.