WebSite X5Help Center

 
Steve B.
Steve B.
User

Schedule on website opens on correct day  en

Автор: Steve B.
Просмотрено 813, Подписчики 1, Размещенный 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.

Размещено
12 Ответы - 3 Полезно
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.

Читать больше
Размещено От 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

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Автор

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. 

Читать больше
Размещено От 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!!!!!

Читать больше
Размещено От 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.

Читать больше
Размещено От John S.
Steve B.
Steve B.
User
Автор

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? 

Читать больше
Размещено От Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

Script page index, row 222 - 226

.

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Автор

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

Читать больше
Размещено От 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.

Читать больше
Размещено От John S.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... grazie, ciao...

Читать больше
Размещено От  ‪ KolAsim ‪ ‪