WebSite X5Help Center

 
Steve B.
Steve B.
User

Schedule on website opens on correct day  en

Auteur : Steve B.
Visité 808, Followers 1, Partagé 0  

Hello,

I have created a website for a radio station www.3bsradio.co.uk if you scroll down on the home page you will see the schedule which I created in a text box. Ideally I would like the schedule to display for the day that the viewer is visiting. For example if they visit on friday then fridays schedule is automatically showing.

I have seen it working on this website https://beatrouteradio.co.uk/schedule/ but wondered if it can be made to do the same in X5.

Thanks in advance.

Posté le
12 RéPONSES - 3 UTILE
John S.
John S.
User

You find the present day and for the corresponding tab you set that tab as : active-day-tab

Let's see if this is not what KolAsim's code will do.

Lire plus
Posté le de John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... with IFRAME he can simply do as I had already suggested and that he had to verify...
... if he wants to use tabs, he must post his LINK of his tab page, in order to evaluate...

.

ciao

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Auteur

Really sorry, how do I add code to a text box. My skill level is adding an html code box but not knowing where or how bits of code make a text box work. Could you possibly give me a step by step. 

Thanks in advance. 

Lire plus
Posté le de Steve B.
John S.
John S.
User

@Steve

KolAsim offers to supply you with code. He ask you to make a post with a link to your website where you have the text-box with the tabs. I guess he will then give you the code that will fit exactly to your page.

So: Post a link to your page!!!!!

Lire plus
Posté le de John S.
John S.
John S.
User

@KolAsim: Oh - just saw the link: www.3bsradio.co.uk     (near bottom of page.)

@Steve: Sorry for not reading your post properly.

Lire plus
Posté le de John S.
Steve B.
Steve B.
User
Auteur

So if I look at the last post from the link above there is nothing on there with any code. The schedule is on the home page of www.3bsradio.co.uk Even if I had some code how do I link it to this text box. The options for active tabs do not open the correct one automatically. Would I be better with a schedule that generates code and I simply put it in an a iframe? 

Lire plus
Posté le de Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

.. hi John, ..you are right, thanks  ... ciao...

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

x Steve B.,  ... my invention of the other topic, 

Script page index, row 222 - 226

.

.

Lire plus
Posté le de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Auteur

Thank you I will try to set this up over the weekend.

Lire plus
Posté le de Steve B.
John S.
John S.
User

@KolAsim - Supersmile

@Steve - as an alternative you could place a html-object on the page and put the code in there. It will maybe be better if you have tabbed textobjects on other pages that is not by week.

Lire plus
Posté le de John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... grazie, ciao...

Lire plus
Posté le de  ‪ KolAsim ‪ ‪