Reputation Activity
-
lesshardtofind got a reaction from sandoys in PHP form to modal. I cant run my modal if PHP code is in it, but if no PHP code my modal works corectly. Need help. Im new here.My console logs that
$.fn.modalmanager is undefined in form.php line 136
As for your php unless you post the code I can't really look at it.
You also have an extra closing </script> tag on line 183
The fact that your $.fn.modalmanager is undefined means that your include source is wrong. I was able to get rid of this error by downloading your source code and then downloading modal-manager from github at https://github.com/jschr/bootstrap-modal/
I then replicated their file structure around my project and the error message went away.
Your loop through datasource does not ever run. You can find this out by putting a alert message or console log inside of that loop and noticing you never get the alert or console.log. This seems to be what is ultimately not populating your text array, but I can't know for sure.
It would be 100% easier to help you if you would
A. Describe your expected behavior,
B. Describe the behavior you are getting,
C. What you tried to do so far to fix it.
Sorry I couldn't help more. Good luck.
-
lesshardtofind reacted to rbrtsmith in Background OverlayFor an overlay to work you need the following:
A parent wrapper, with position relative. The content that lives inside the wrapper The overlay. Your markup could look like this.
<div class="has-overlay"> <img src=".." alt=""> <div class="has-overlay__overlay> Overlay content </div> </div> .has-overlay { position: relative; } .has-overlay__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.6); } This is just an example of a very basic image overlay, but it could overlay anything that is contained within the .has-overlay div. The overlay of course contain any kind of content.
There's no need for anything more complex than this really.
If you want it to appear on hover the css is simply:
.has-overlay { position: relative; } .has-overlay:hover .has-overlay__overlay { opacity: 1; } .has-overlay__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,0.6); opacity: 0; } I can see a lot of what is known as 'code smells' in your css, things like magic numbers etc. I suggest you take a read of the following post, it will help you to gradually eliminate these from your css http://csswizardry.com/2012/11/code-smells-in-css/
-
lesshardtofind got a reaction from Sandrax1 in Hi everyoneWelcome to the forum
-
lesshardtofind reacted to Bobby Anderson in bootstrap sidebar attemptIt sounds to me as though you've not closed one of the divs properly, although its hard to gauge what you've done without being able to see your code or know what system your using for the blog?
I think you should look to restructure your site to keep the content and the sidebar separate and then nest post rows within each other for example…
<div class="container"> <div class="row"> <div class="col-md-9"> <!-- Post 1 --> <div class="row"> <div class="col-md-8"> Image </div> <div class="col-md-4"> Post content </div> </div> <!-- Post 2 --> <div class="row"> <div class="col-md-8"> Image </div> <div class="col-md-4"> Post content </div> </div> </div> <aside class="col-md-3"> Your sidebar </aside> </div> </div> -
lesshardtofind got a reaction from Fuzzy Logic in bootstrap sidebar attemptI'm not super fluent in bootstrap framework but maybe drop a screenshot or a link and I can do some investigation. I don't fully understand what is not working by your description (stupid visual learners).
-
lesshardtofind got a reaction from numero in Dont have an idea to listUse css your selector will be .saibamais ul li{}
.saibamais ul li{ YourStyle: YourStyleValue; NextStyle: NextStyleValue; } You should probably do some google searches on CSS Tutorial to get an idea of how to integrate.
-
lesshardtofind got a reaction from Fuzzy Logic in redesign of siteI like it.
You misspelled communication in the body.
Other than that I didn't notice anything that wasn't pleasing.
-
lesshardtofind reacted to Paul Murray in Design TipsI'd start by removing Arial as the main font as I find Arial instantly dates a website by 10 years.
Switch out the headings for something a little more interesting, and then do the same for the paragraphs. I find Source Sans Pro or Open Sans are good options for body copy, both of which are available as free web-fonts.
-
lesshardtofind reacted to dev_jowett in Design TipsThe colors.. you can tone them down a bit. The green there is pretty bright for blue... or vice versa.