我怎么能“翻转”一个td单元格内的内容取决于另一个td单元格中的链接? [英] How can I "flip" content inside one td cell depending on a link in another td cell?

查看:53
本文介绍了我怎么能“翻转”一个td单元格内的内容取决于另一个td单元格中的链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,其中一页显示事件日历。使用表格,我有一个包含标签链接(日历样式,1月12日,2月12日等)的td-cell,然后旁边的td-cell应该显示该日期的相应信息 - 我该怎么做?

iframe看起来很糟糕,框架不起作用,有什么想法吗?我很高兴使用JavaScript或php ...

感谢任何帮助!

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!

推荐答案

这将有助于看到你的代码以及你想要实现的模型。
It would help to see your code along with a mockup of what you''re trying to achieve.


嗯。没有太多要显示,因为我无法弄清楚如何做到这一点 - 理想情况下我希望有一个php文件专业日期的包含,应该在较大的td-cell中可见


这里的代码(目前只是一个简单的表格 - 理想情况下div的内容应该是可点击的(锚标签或类似的,想到构建导航菜单,但问题是要弄清楚如何获得不同的链接到之后在td单元格中可视...):
Hmm. 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...):
展开 | 选择 | Wrap | 行号


样机怎么样?

唯一的rea儿子我要求那是因为我不明白你想要完成什么。并且最终产品中您正在寻找的图片使事情变得更容易理解。
What about the mockup?

The only reason I''m asking for that is because I don''t understand what you want to accomplish. And a picture of what you''re looking for in the end product makes things much easier to understand.


这篇关于我怎么能“翻转”一个td单元格内的内容取决于另一个td单元格中的链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆