How to: Apply CSS to popup

14 years 3 months ago #13553 by stevebor1
How to: Apply CSS to popup was created by stevebor1
Find code around 933

[code:1]$htmltext2 .= "newWindow.document.writeln(\"<div align='center' >\"«»);\n";[/code:1]

1. change to
[code:1]$htmltext2 .= "newWindow.document.writeln(\"<div class='tab-page' align='center' >\"«»);\n";[/code:1]

2. also add this line after
[code:1]$htmltext2 .= "newWindow.document.writeln(\"<link rel='stylesheet' href='PATH TO /template_css.css' type='text/css'/><style type='text/css'>\"«»);\n";
[/code:1]

change your path to your css location, joomla template or cb template. I chose to make my div class set to "tab-pane", but you can change to whatever you want.


if you want to just add a color background, just replace class='tab-pane' in 1 with bgcolor='000000' and forget step 2.

Post edited by: stevebor1, at: 2006/05/22 10:04

Post edited by: stevebor1, at: 2006/05/25 02:12

Karma Me Up!
File Attachment:


FITcommunity
Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job
File Attachment:

Mobile Wallet and Social Lending, Anywhere!

Please Log in to join the conversation.

14 years 3 months ago #13558 by nant
Replied by nant on topic Re:Apply CSS to popup
Thanks!

Will study and make some additions to next version of the plugin.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.398 seconds

Facebook Twitter LinkedIn