Hello all, I have recently copied a website from Weebly.com that I do own, so there is not copyright problems. It's just that I want to make the HTML simpler if I can. So here is what I have you can see the website live at [weblup.net78.net](http://www.weblup.net78.net). If there is anything you see that you think I should change or shorten please let me know. I also have 4 other pages that are using this css so that is why it's so big :/ I really don't like it. But that is how Weblup gave me the CSS to it. …

Member Avatar
Member Avatar
+0 forum 1

Just wondered if this code could be optomiosed in anyway? It works great, just wanted to make sure there weren't any ways to simplify this or if there are any obvious errors in the markup. Asking primerly because of that second call in the first function, not sure if it's needed? $(document).on("click", '.load', function (event) { var $projects = $("#projects"), id = $(this).data('id'); $projects.html("").data('id', id); $("#loading").show(); $projects.load("projects.html #div" + id, function () { $("#projects").show(); $("#loading").hide(); }) }); $(document).on("click", '.next', function (event) { var $projects = $("#projects"); pid = $projects.data('id'); $projects.data('id', (pid == 6) ? 1 : (pid + 1)); $projects.load("projects.html …

Member Avatar
Member Avatar
+0 forum 4

I'm wondering if there is a way to simplify this program. I feel like I wasted a lot of time on all the ternary codes at the bottom for labeling "bill" for the three values (ten$, five$, and one$). Also for deriving the values for q,d,n, and p I feel like I was being redundant for no reason. -_- [CODE]/*This project will prompt for a valid double value for cash and determine the fewest number of bills and coins needed to reflect this value.*/ import java.util.Scanner; import java.text.DecimalFormat; public class Project9 { public static void main (String[]args) { int ten$,five$,one$,q,d,n,p; …

Member Avatar
Member Avatar
+0 forum 3

The End.