-
-
Login-box - add full page overlay
Hey, I'm using Login-box http://wordpress.org...gins/login-box/, and want to add an overlay so that the rest of the page is dimmed when the login box appears. My javascript lknowledge is pretty limited. This is the code: <?php wp_print_scripts('jquery'); ?> <script type="text/javascript"> var loginbox = { theme: '<?php echo LB_THEME; ?>', key: '<?php echo LB_KEY; ?>', keycode: '[<?php echo ord(strtolower(LB_KEY)) ?>][<?php echo ord(strtoupper(LB_KEY)) ?>]', ctrl: <?php echo LB_CTRL; ?>, backtopage: <?php echo LB_BACKTOPAGE; ?>, fade: <?php echo LB_FADE; ?>, auto: <?php echo LB_AUTO; ?>, string: { close: '<?php _e("close"); ?>' } }; </script> <script type="text/javascript" src="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/login-box-script.js"></script> <?php if (file_exists($scriptfile)): ?> <script type="text/javascript" src="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/<?php echo LB_THEME; ?>/scripts.js"></script> <?php endif; ?> <?php if (file_exists($stylefile)): ?> <link rel="stylesheet" href="<?php bloginfo('wpurl'); ?>/wp-content/plugins/login-box/<?php echo LB_THEME; ?>/style.css" type="text/css" media="screen" /> <?php endif; ?> I thought maybe if I added something like showOverlay: true that would work but it just breaks the overlay altogether. Do I need to add the showOverlay somewhere else also? Any tips appreciated! Cheers
- @font0face in Firefox - not working even though fonts hosted on same domain
-
Javascript Proveit test
Has anyone taken the javascript Proveit test or know where I can find a similar test to practice? Gotta do it for a job! Cheers
- What CMS to learn after Wordpress?
-
What CMS to learn after Wordpress?
Hey, So I want to learn a new CMS. All the sites I've built so far have been in Wordpress which has been adequate for them but I'll like to add another option to my arsenal. What's the best to learn next?? Drupal or Joomla? Or any other suggestions? I don't work on e-commerce sites if that makes any difference. Cheers
-
Overriding embedded style sheets
Hey, Thanks for the replies, think the styles are coming in with the Twitter API? I don't even know if that makes sense! It's an app with a Twitter feed wideget basically....I can't link to the site unfortunately due to restrcitions from the client. I will try !important in the rules and see if this works. Cheers!
-
Overriding embedded style sheets
Hey, I'm working on a site that pulls in Twitter and Facebook feeds. There is an embedded style sheet coming in with the Twitter feed - how do I override this? Adding syles to the style sheet hasn't worked for me. Any suggestions appreciated, Cheers
-
Javascript pop up plugin with window sizing
Hey, I'm looking for a javascript plugin for Wordpress that will give me a pop-up browser window when I click on a video link. I need the option to size the browser window and have it border the video player exactly.... Can anyone recommend plugins? Cheers
-
Full customization of YouTube channel?
Hey, I'm looking to fully customize a YouTube channel but am not really finding any helpful tuts/resources on it. How can I do things like this: My link or even this:My link - ie. push down the content are so there is room for the logo and nav bar. Any tips appreciated, cheers
-
Redirecting users after login?
I can see this code in Firebug: <input id="wp-submit" class="button-primary" type="submit" tabindex="100" value="Log In" name="wp-submit"> <input type="hidden" value="http://www.mysite.com/wp-admin/" name="redirect_to"> <input type="hidden" value="1" name="testcookie"> Is this code that I can get to and edit? So that I could edit the url in "value"?
-
Redirecting users after login?
Hey, Working on a site that has some restricted content that will be available to registered users only. As it is now, when a user logs in they go to their profile page by default...how do I redirect them to a specific url? I am using the Members plugin to set up the roles and user and restrict content. My link Originally I had been using this plugin to redirect after login - My link- but it seems very buggy and I had to do a whole reinstall to delete the plugin settings even after the plugin was deleted. Can anyone suggest a method/plugin for doing this? Cheers
-
Wordpress - Problems deleting plugin settings?
ok I've done that by going to Settings > Permalinks and just clicking 'Save Changes'. Still getting a 404 pg but it has Wordpress styling now but before it had the default page that comes with the hosting if that makes sense
-
Wordpress - Problems deleting plugin settings?
Now when I make a new page, and publish it and click 'View page', I'm getting a 404 error! eek, I think maybe that plugin has totally screwed with my site
-
Wordpress - Problems deleting plugin settings?
Yeah, it's not working. Can only think that maybe it's buried in the database somewhere
-
Wordpress - Problems deleting plugin settings?
The client has insisted the site is kept private until development is finished, so I can't link to it, which doesn't help I know. I really don't want to have to start with a fresh install