Please help with javascript and css
2016-06-24, 03:59 PM, (This post was last modified: 2016-06-24, 04:00 PM by mboitshepo.)
#1
I just need minor help with javascript as well as css attributes to make 1 image mobile friendly. I have tried to set the attribute to 100 % but still the image is not mobile optimised.

javascipt for ip detection
"document.write('<style>#findipinfo div{display:inline-block;margin: 0 6px 0 0}#findipinfo img{box-shadow: 1px 1px 3px #666;border:0;display:inline}a#findipinfo{display:block;width: 538px;text-align:center;color: #444;text-decoration:none;background:#fcfcfc;padding:10px;border: 1px solid #e5e5e5;overflow:hidden;line-height:170%;background: transparent;border-color: transparent;color: white;}a#findipinfo:hover{background:#fafafa;color:#111;background: transparent;border-color: transparent;color: white;}.findiplink{padding:2px 8px;text-align:right;width: 542px;font-size:11px;border: 1px solid #e5e5e5;border-top:0;overflow: hidden;line-height:150%;color:#555;background:#fff;background: transparent;border-color: transparent;color: white;}.findiplink a{text-decoration:none;}</style><a id="findipinfo" href="http://www.find-ip.net/ip-locator" target="_blank"><div>Your IP: <b>"1,"</b></div><div>Country: <b>"1,"</b> <img src="http://api.find-ip.net/flags/za.png" alt="1," /></div><div>Region: <b>"1,"</b></div><div>City: <b>"1,"</b></div><div>Language: <b>en</b></div><div>Browser: <b>unknown</b></div><div>System: <b>Windows</b></div></a>');"

CSS
<iframe src="iframe.html" scrolling="no" width="670" height="287" frameborder="0"></iframe>



Can you please debug why i get the black page with no ip showing.
Thanks
Reply
2016-06-25, 03:58 PM,
#2
buddy this is cpa so not sure you will get answer so in mean time try: http://w w w. hongkiat. co m /blog/programming-questions-websites/
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is it possible to convert the landing page protection into javascript? ๖ۣۜPhoenix 5 242 2017-06-09, 11:54 AM
Last Post: tanfirislam
  Alternatives to cpagrip (custom html/css lockers) ArtoAllan 22 3,701 2016-12-17, 07:48 PM
Last Post: COBNET
  CPA NETWORKS WITH CUSTOM CSS/HTML kderow 0 566 2016-12-04, 05:07 AM
Last Post: kderow
  Adwork media css mobile help? CONNOR_JAMES 0 463 2016-07-02, 08:27 AM
Last Post: CONNOR_JAMES
  Javascript Unescape Not Working For me :( finnishhacker 0 295 2016-06-03, 04:04 AM
Last Post: finnishhacker





About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top