This is probably very simple, but can't figure out how to do it...
Need to link my navigation from one page ( "fundraising.ph p") to another page (schedule.php) but to a specific date, 4th Dec ==> Problem, the content of this date (04dec12.php) is in an iframe, default being closest date (i.e. 01dec.php). How can I link from one page (fundraising.ph p) to schedule.php making sure that in the iframe of schedule.php (see second code...
User Profile
Collapse
-
confusedswede replied to How can I "flip" content inside one td cell depending on a link in another td cell?in JavascriptSolved it in the end myself - and a simple solution.
What I wanted to do was dynamically change content of one td cell which was dependent of a link src in another td cell. So I used iframe in the second td-cell in the end and using a attribute target in order to dynamically change the content of the iframe. Simple, and hopefully I did it right - it looks good on my page though, so I suppose I did find the solution.
I did the... -
confusedswede replied to How can I "flip" content inside one td cell depending on a link in another td cell?in JavascriptSO left td (first rounded td-cell) is the one with the dates, the right one is the description of what is going on on that particular date, so that right td-cell is the one where I want content to change depending on which date they click on in the date-td... does that make sense?
"Festival Schedule" should have linkable dates and
"1st December Festival opening blablabla ..."should be interchangeable...Leave a comment:
-
confusedswede replied to How can I "flip" content inside one td cell depending on a link in another td cell?in JavascriptI can understand that :-) Not very good at making explanations... here a screenshot......Leave a comment:
-
confusedswede replied to How can I "flip" content inside one td cell depending on a link in another td cell?in JavascriptHmm. not much to show, as I can't figure out how to do it - Ideally I would like to have an include of a php-file pro date which should be visible in larger td-cell
Here code (which is just a simple table at the moment - content of div should ideally be clickable (anchor tag or similar, thought of building a nav menu, but problem is to figure out how to get the different links to be visual in td cell thereafter...):
...Code:<td
Leave a comment:
-
confusedswede started a topic How can I "flip" content inside one td cell depending on a link in another td cell?in JavascriptHow can I "flip" content inside one td cell depending on a link in another td cell?
I have a website in which one page is to display a calender of events. Working with tables, I have one td-cell containing a-tag links (calendar style, 1st dec, 2nd dec etc) and a td-cell next to it should then show respective info for that date - how can I do that?
iframe looks really bad, frame doesn't work, any ideas? I'm happy to work with JavaScript or php...
THANKS for any help!
No activity results to display
Show More
Leave a comment: