11
MikeShane
Re: js not working on some themes
  • 2009/10/15 19:09

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


It's not in the tiny editor setting that will not change the script on a page only what is on edited page
Thanks though

12
ghia
Re: js not working on some themes
  • 2009/10/15 19:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I'm afraid you lost us.
Can you explain where and what exactly you are doing and what the difference is with a working and that RockBand theme (links, screenshots)?

13
MikeShane
Re: js not working on some themes
  • 2009/10/16 11:14

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


I set permissons so guest can submit but not approved on calendar. So if you go to http://HgBands.com then to Music calendar to submit event. There is choices of themes (marked music gendre) default or counrty works Rock Band does not.
When submitting schedule click on tab along side of start date and a pop-up calendar appears in Country, default or Rockers (Rockers is same as Rock Band only with script removed) In the Rock Band theme the calendar does not appear. It is also on member pages for the font color and font background (member page you must register and log in to see)
Any sugestions?
I know just enough about script and code to be dangerous not as much as I should but using XOOPS has made building websites very easy ecept for figuring things like this out.
Thanks Mike

14
ghia
Re: js not working on some themes
  • 2009/10/16 12:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Well the calendar is there in the rockband theme, but you can't see it because the #xo-canvas-content has a z-index of 8000.
To get the calendar visible you need a similar or higher z-index. Add
z-index:8001;

to .calendar in /include/calendar-blue.css

15
MikeShane
Re: js not working on some themes
  • 2009/10/16 13:25

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


Where do I add this in script do I need anything else around it?
z-index:8001;


/* Header part -- contains navigation buttons and day names. */

(I tried here that don't work)


.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
text-align: center; /* They are the navigation buttons */
padding: 2px; /* Make the buttons seem like they're pressing */
}

.calendar thead .title { /* This holds the current "month, year" */
font-weight: bold; /* Pressing it will take you to the current date */
text-align: center;
background: #fff;
color: #000;
padding: 2px;
}

16
ghia
Re: js not working on some themes
  • 2009/10/16 14:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


After
.calendar, .calendar table {

or you can add it to div.calendar eg
div.calendar 
 
positionrelative;
 
z-index:8001
}

17
MikeShane
Re: js not working on some themes
  • 2009/10/16 14:15

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


That’s great ghia that works! From here I should be able to figure out how to fix under tiny editor also, now I'm in the right direction.
Thank you so much!

Did you like what I’m building at the website
thanks to “Xoops” ?

Login

Who's Online

359 user(s) are online (267 user(s) are browsing Support Forums)


Members: 0


Guests: 359


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits