Jump to content

deadlyp99

Members
  • Posts

    124
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

deadlyp99's Achievements

Member

Member (2/5)

1

Reputation

  1. Try removing the float:left from ".panel div", since you are using absolute positioning anyway.
  2. To me this screams packet sniffer. http://www.wireshark.org/ Pretty good one, though I have not personally used it in a few years. It's worth noting though, that since your application sends and receives data, you could just have it log all data it sends and receives...
  3. It sounds to me, like you do not have a web server installed yet are trying to run php scripts.
  4. Your using the same images repeatedly. Your while loop repeats, and keeps using the static image url. You can restructure your database to also contain the image url for a specific team. echo "<td><image src ='".$record['teamOneImageUrl']."'/></td>"; //problem here echo "<td><image src ='".$record['teamTwoImageUrl']."'/></td>"; //problem here
  5. Hello, wasn't quite sure where I should have posted this, or if appropriate for this forum. I know my web design mechanics fairly well, but i'm not really the best art designer. I've created a calender for a site i'm working on. Click on a day, and you can share what your doing on said day. Simple project, but I feel its ugly. I use a "checkmark" image to show a day has an entry. When the owner clicks a day, they are presented with a pop-in (in-page popup?) that allows them to create or edit. Still need to make a delete control, not hard. When a viewer clicks a day, they get an even more lack-luster view without the text-area. Anyway, this feels really awkward when using it. Any tips for bringing it up to 2012? Attached images for it, thanks in advanced for any advice.
  6. The dbTitle class holds the value of the div's title in the database. That title is used to manage the div's content in the CMS. I could have bypassed all of this by not naming it. But then in the future I could have many divs with no names, which makes determining what's what messy. But any divs created through the cms get that class to conform to the site's template. Adding an id to it would require me to recode the cms to allow me to add a unique id. Ideally that is what I would want right, but I'm not familiar enough with the very large script to properly do it in a timely manner... It requires restructuring the database, updating all the divs that don't have id's, updating all the backend php for add, editing, and removing said content, as well as possibly needing to modify code that needs to interact with the structure or content of the div's. So I can do that, or throw a simple edit and put the long and hard on my to-do list. I had been throwing various functions at jQuery because I don't know it 100% yet. Thanks for helping out, I have gotten this working, and I got the parent function working ... more cleanly. It appears this will do what I want it to and I don't foresee problems with it so far. $('#motivationals').parents('.disignBoxFirst').find('.dbTitle:first').html(''); Thanks a ton.
  7. The script I'm working with allows easy content to be added. Throw it a title and a body of content and it throws a div on the page. I'd really rather avoid editing the base script for this, because I don't know how it may effect the rest of the site.
  8. Hello, i've been working on a site, and there is a specific element I wish to edit. The trouble I have is there are many instances of the class, so I've been using .parent() in jquery, and I feel I am just doing it wrong. The markup looks like this <div class="disignBoxFirst bx-def-margin-top bx-def-border"> <div class="boxFirstHeader bx-def-bh-margin"> <div class="dbTitle">Ad_Rotator</div> <div class="clear_both"></div> </div> <div class="boxContent"> <div class="dbContentHtml"> <p id="motivationals"></p> <script type="text/javascript">// <![CDATA[ /**buildAdRotator();**/ // ]]></script> </div> </div> </div> I am trying to edit the innerHTML of dbTitle. The div is the first instance of the class on the site, but I don't want code to break if I place new ones before it in the future. So I wish to use the motivationals id as a handle or reference point since there will only be one instance of that. I've tried $('#motivationals').parent().parent().parent().first('.dbTitle').html('aasdf'); This doesn't behave as I want it to, and I really feel i'm using bad code just looking at that. Due to the nature of the script I am working on, editing the markup isn't really an option outside of the dbContentHtml div. Any insight on how to properly hop up to the parent, and then down to dbTitle would be much appreciated.
  9. I use fireftp to save room in my task bar. Other than that I use whatever file manager (explorer on windows), to do my file transactions via a drag-drop annoyance. I would like to find a portable text editor that allows me to edit files directly on a server... but not much luck so far find one that works.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.