Tiny Code
Forum Replies Created
-
Forum: Plugins
In reply to: [TC Custom JavaScript] Changes don’t work on my pageIn your JS code, the quotes is not correct, it cause error (you can check the error in console log). Please try to use double quote
Forum: Plugins
In reply to: [TC Custom JavaScript] Changes don’t work on my pagePlease check the condition: if(itemCount < 5 && itemWidthTotal < $(this).width())
Is it correct? I tried to log the values then I see itemCount > 5.- This reply was modified 8 years, 2 months ago by Tiny Code.
Forum: Plugins
In reply to: [TC Custom JavaScript] Plug-in supportYes, it does.
Forum: Plugins
In reply to: [TC Custom JavaScript] Not Updating Code EnteredI have sent you a hot fix, please check your email.
Forum: Plugins
In reply to: [TC Custom JavaScript] How to revert modifications made by Custom JS Plugin?@broofing: You can use database client software to edit database such as phpmyadmin, Navicat… Then find your database, open table “options” and edit option which has key “tccj_content”
Forum: Plugins
In reply to: [TC Custom JavaScript] Not Updating Code EnteredHi,
Do you remember the problem when you update the second code?
Forum: Plugins
In reply to: [TC Custom JavaScript] How to revert modifications made by Custom JS Plugin?Hi,
In admin panel, go to Appearance > Custom JavaScript => you can edit JS code.If you want to find the modifications in database, please open
optionstable and find the key “tc_custom_javascript”.I hope this can help you.
- This reply was modified 9 years, 3 months ago by Tiny Code.
Forum: Plugins
In reply to: [TC Custom JavaScript] Plugin still being updated and supported?Yes, this plugin still being updated and supported? Because the current version is stable so I think releasing new update version is unnecessary. But if you found any bugs or have idea for new features, please let me know.
Thank you!
Forum: Reviews
In reply to: [TC Custom JavaScript] The only js plugin that worked for meThanks! You made my day.
I will try to implement the feature that can limit js effect to particular pages.Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.Thanks bro. Hope your website will be finished soon. It’s very nice.
Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.Thank god, It works, haha.
Today I’m feeling so confused, made too many mistakes. Sorry for wasting your time 🙁Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.function myImg(){ newwin = window.open("http://185.105.4.132/~zen/player/zenradio.html", "dispwin", "width=750,height=300,scrollbars=no, menubar=no"); }; jQuery('body.home .gdl-button').click(function() { myImg(); });Please copy exactly this code. body.home and .gdl-button have spacebar between
Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.Change JS to below code, notice the ; (semicolon) after myImg function.
function myImg(){ newwin = window.open("http://185.105.4.132/~zen/player/zenradio.html", "dispwin", "width=750,height=300,scrollbars=no, menubar=no"); }; jQuery('body.home .gdl-button').click(myImg());and make sure your browser allows popup (very important if you want to open in new window).
Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.I see… You have to add ID to the button, and then use jQuery to set onclick action. Change your button to:
<p style="text-align: center;">[button color="#fff" background="#ff7000" size="small" id="listenhere" src="javascript:void(0);" target="_self"]LISTEN HERE[/button]</p>then add this to Custom Javascript:
function myImg(){ newwin = window.open("http://185.105.4.132/~zen/player/zenradio.html", "dispwin", "width=750,height=300,scrollbars=no, menubar=no"); } jQuery('#listenhere').click(myImg());Forum: Reviews
In reply to: [TC Custom JavaScript] js code not working.You should add onclick=”myImg()” to the button. Like this:
<a onclick="myImg()" href="javascript:void(0);" target="_self" class="gdl-button small" style="color:#fff; background-color:#ff7000; border-color:#cc5a00; ">LISTEN HERE</a>
I use href=”javascript:void(0);” instead of URL to prevent browser go to that URL.