Hi everyone, I am the creator on NHL.app, at NHLapp.com. I have been
looking around the forums and have been unable to find an answer to my
question, so here it goes.
I am trying to make part of my app look like iCal on the iPhone,
because it is basically a calendar. I want to have the arrow buttons
be in the header along with the other iUI navigation, I got that
working. The problems arises when I try to make the links work. Here
is some code so you know what I am talking about.
<div class="toolbar">
<a style="position: absolute; overflow: hidden; top: 8px; left: 6px;
margin: 0; border-width: 0 5px; padding: 0 3px; width: auto; height:
30px; line-height: 30px; font-family: inherit; font-size: 12px; font-
weight: bold; color: #FFFFFF; text-shadow: rgba(0, 0, 0, 0.6) 0px -1px
0; text-overflow: ellipsis; text-decoration: none; white-space:
nowrap; background: none; -webkit-border-image: url(extra/
toolButton.png) 0 5 0 5;" href="#9/29">Today</a>
<a class="date" href="date.html"></a>
<a class="teambutton" href="team.html"></a>
<a class="button" href="#searchForm">About</a>
<div class="bar"></div>
<a class="left" href="#9/29"></a>
<div class="team" id="pageTitle"></div>
<a class="right" href="#10/1"></a>
</div>
^That is the toolbar at the top. To see what it looks like goto
dev.nhlapp.com/new/. The things to focus on are "
<a class="left" href="#9/30"></a>" and "<a class="right"
href="#10/1"></a>" The problem is getting the links to be dynamically
generated using PHP (As you can see I don't have PHP in use yet). The
above code would link to the bottom and top uls, and would be on the
page of the middle ul.
<ul id="9/29" title="September 29th"></ul>
<li><div class="teams">[EMAIL PROTECTED]</div><div
class="time"><br>12:00 PM ET<br></div></li>
</ul>
<ul id="9/30" title="September 30th">
<li><div class="teams">[EMAIL PROTECTED]</div><div
class="time"><br>12:00 PM ET<br></div></li>
</ul>
<ul id="10/1" title="October 1st">
<li><div class="teams">No games today.</div><div
class="time"><br><br><br></div></li>
</ul>
Is there any way to make PHP make the links for this so that I can
have the entire lineup on one page, and then the links of the arrows
would change if you changed to day? If not I guess I can go the easy
(and more cumbersome) way and code the sub-toolbar into each ul, but
that would be horrible over EDGE.
Thanks for any help you may be able to provide.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---